Skip to main content

kaia_getChainConfig RPC Method

Returns the configuration of the chain.

Updated on
Sep 23, 2024

Parameters

blockNumber/tag
string
REQUIRED

The block number in either hexadecimal or integer format, or the string (latest or earliest)

Returns

chainId
integer

The identifier for the blockchain network

istanbulCompatibleBlock
integer

The block number when Istanbul hard fork compatibility was activated

londonCompatibleBlock
integer

The block number when London hard fork compatibility was activated

ethTxTypeCompatibleBlock
integer

The block number when Ethereum transaction type compatibility was activated

magmaCompatibleBlock
integer

The block number when Magma hard fork compatibility was activated

koreCompatibleBlock
integer

The block number when Kore hard fork compatibility was activated

shanghaiCompatibleBlock
integer

The block number when Shanghai hard fork compatibility was activated

cancunCompatibleBlock
integer

The block number when Cancun hard fork compatibility was activated

kaiaCompatibleBlock
integer

The block number when Kaia hard fork compatibility was activated

kip103CompatibleBlock
integer

The block number when KIP-103 (Klaytn Improvement Proposal) compatibility was activated

kip103ContractAddress
string

The address of the contract for KIP-103

kip160CompatibleBlock
integer

The block number when KIP-160 compatibility was activated

kip160ContractAddress
string

The address of the contract for KIP-160

randaoCompatibleBlock
integer

The block number when RANDAO protocol compatibility was activated

istanbul
object

The istanbul object which contains the following fields:

epoch
integer

The duration of an epoch in seconds

policy
integer

The policy number defining the consensus policy

sub
integer

The sub-policy or configuration identifier

unitPrice
integer

The base gas price per transaction unit in the network

deriveShaImpl
integer

The version of the SHA implementation used for deriving keys

governance
object

The governance object which contains the following fields:

governingNode
string

The address of the current governing node in the network

governanceMode
string

The mode of governance

govParamContract
string

The contract address responsible for governing parameters

reward
object

The reward object which contains the following fields:

mintingAmount
integer

The amount of KLAY minted per block

ratio
string

The reward distribution ratio among validators, proposers, and other parties

kip82ratio
string

The KIP-82 specific reward distribution ratio

useGiniCoeff
boolean

A boolean flag indicating whether the Gini coefficient is used for reward calculations

deferredTxFee
boolean

A boolean flag indicating whether transaction fees are deferred

stakingUpdateInterval
integer

The time interval in seconds for updating staking parameters

proposerUpdateInterval
integer

The time interval in seconds for updating block proposers

minimumStake
integer

The minimum amount of KLAY required to participate as a validator

kip71
object

The kip71 object which contains the following fields:

lowerboundbasefee
integer

The minimum base fee per gas unit

upperboundbasefee
integer

The maximum base fee per gas unit

gastarget
integer

The target gas usage per block

maxblockgasusedforbasefee
integer

The maximum gas used per block for base fee calculation

basefeedenominator
integer

The denominator used to calculate base fee adjustments

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free