Last updated on January 1, 1970

2 min read

Method eth_getChainConfig undefined ()
connect with JSON-RPC protocol

eth_getChainConfig

info-circle-fill

Returns a list of available compilers in the client.

Parameters

-

Request

curl --location --request POST 'https://avax.getblock.io/mainnet/ext/bc/C/rpc' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getChainConfig",
"params": [],
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "apricotPhase1BlockTimestamp": 1617199200,
        "apricotPhase2BlockTimestamp": 1620644400,
        "apricotPhase3BlockTimestamp": 1629813600,
        "apricotPhase4BlockTimestamp": 1632344400,
        "apricotPhase5BlockTimestamp": 1638468000,
        "apricotPhase6BlockTimestamp": 1662494400,
        "apricotPhasePost6BlockTimestamp": 1662519600,
        "apricotPhasePre6BlockTimestamp": 1662341400,
        "banffBlockTimestamp": 1666108800,
        "byzantiumBlock": 0,
        "chainId": 43114,
        "constantinopleBlock": 0,
        "cortinaBlockTimestamp": 1682434800,
        "daoForkBlock": 0,
        "daoForkSupport": true,
        "eip150Block": 0,
        "eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
        "eip155Block": 0,
        "eip158Block": 0,
        "homesteadBlock": 0,
        "istanbulBlock": 0,
        "muirGlacierBlock": 0,
        "petersburgBlock": 0
    }
}
banner icon

Start Building with GetBlock RPCs for Free