Appearance
debug_chainConfig
served · same as reth
Returns the chain configuration, with the fields that reth sets.
When to use
Some tools read the chain ID or the DAO fork setting from it.
Example
bash
curl -s -X POST -H 'Content-Type: application/json' \
--data '{"jsonrpc": "2.0", "id": 1, "method": "debug_chainConfig", "params": []}' \
http://127.0.0.1:8547json
{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_chainConfig",
"params": []
}Response
Live mainnet, 2026-10-14. Checked against reth 2.7: equal.
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"chainId": 1,
"homesteadBlock": 1150000,
"daoForkBlock": 1920000,
"daoForkSupport": true,
"eip150Block": 2463000,
"eip155Block": 2675000,
"eip158Block": 2675000,
"byzantiumBlock": 4370000,
"constantinopleBlock": 7280000,
"petersburgBlock": 7280000,
"istanbulBlock": 9069000,
"muirGlacierBlock": 9200000,
"berlinBlock": 12244000,
"londonBlock": 12965000,
"arrowGlacierBlock": 13773000,
"grayGlacierBlock": 15050000,
"shanghaiTime": 1681338455,
"cancunTime": 1710338135,
"pragueTime": 1746612311,
"osakaTime": 1764798551,
"bpo1Time": 1765290071,
"bpo2Time": 1767747671,
"terminalTotalDifficulty": 58750000000000000000000,
"terminalTotalDifficultyPassed": true,
"depositContractAddress": "0x00000000219ab540356cbb839cbe05303d7705fa",
"blobSchedule": {
"bpo1": {
"baseFeeUpdateFraction": 8346193,
"max": 15,
"target": 10
},
"bpo2": {
"baseFeeUpdateFraction": 11684671,
"max": 21,
"target": 14
},
"cancun": {
"baseFeeUpdateFraction": 3338477,
"max": 6,
"target": 3
},
"osaka": {
"baseFeeUpdateFraction": 5007716,
"max": 9,
"target": 6
},
"prague": {
"baseFeeUpdateFraction": 5007716,
"max": 9,
"target": 6
}
}
}
}Parameters
None.
Returns
An object with the chain ID, the fork blocks and fork times (for example homesteadBlock and shanghaiTime) and daoForkSupport. It also has the terminal total difficulty, the deposit contract address and the blob schedule.
Compared with reth
The answer is the answer of reth 2.7 on mainnet. Cinder runs on mainnet only. The code also has the answers of reth 2.7 for the chain IDs of Sepolia and Hoodi.
The live example above gives the same answer on Cinder and on reth 2.7.
Related methods
Schema (OpenRPC)
Result: object
json
{
"type": "object",
"properties": {
"chainId": {
"type": "integer"
},
"daoForkSupport": {
"type": "boolean"
},
"terminalTotalDifficultyPassed": {
"type": "boolean"
}
}
}