Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

protocolConfigs

Fetch the protocol config by protocol version, or the latest protocol config used on chain if no version is provided.

protocolConfigs(
version: UInt53
): ProtocolConfigs

Arguments

protocolConfigs.version ● UInt53 scalar

Type

ProtocolConfigs object

Constants that control how the chain operates.

These can only change during protocol upgrades which happen on epoch boundaries. Configuration is split into feature flags (which are just booleans), and configs which can take any value (including no value at all), and will be represented by a string.