ProtocolConfigs
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.
type ProtocolConfigs {
protocolVersion: UInt53!
config(
key: String!
): ProtocolConfig
configs: [ProtocolConfig!]!
featureFlag(
key: String!
): FeatureFlag
featureFlags: [FeatureFlag!]!
}
Fields
ProtocolConfigs.protocolVersion
● UInt53!
non-null scalar
ProtocolConfigs.config
● ProtocolConfig
object
Query for the value of the configuration with name key
.
ProtocolConfigs.config.key
● String!
non-null scalar
ProtocolConfigs.configs
● [ProtocolConfig!]!
non-null object
List all available configurations and their values.
ProtocolConfigs.featureFlag
● FeatureFlag
object
Query for the state of the feature flag with name key
.
ProtocolConfigs.featureFlag.key
● String!
non-null scalar
ProtocolConfigs.featureFlags
● [FeatureFlag!]!
non-null object
List all available feature flags and their values.
Returned By
protocolConfigs
query
Member Of
ChangeEpochTransaction
object ● Epoch
object