Azxa
← BNB Smart Chain overview

BNB Smart Chain · eth

eth_config

Returns the client's current configuration including fork information.

Result

Configuration

Schema
{
  "type": "object",
  "title": "Configuration response",
  "description": "Response object for eth_config method containing current, next, and last fork configurations",
  "properties": {
    "current": {
      "type": "object",
      "title": "Current configuration",
      "description": "Represents a specific fork configuration",
      "properties": {
        "activationTime": {
          "type": "number",
          "title": "Activation time",
          "description": "Unix timestamp when this configuration becomes active"
        },
        "blobSchedule": {
          "type": "object",
          "title": "Blob schedule",
          "description": "Configuration for blob fee schedule",
          "properties": {
            "baseFeeUpdateFraction": {
              "type": "integer",
              "title": "Base fee update fraction",
              "description": "Fraction used for updating blob base fees"
            },
            "max": {
              "type": "integer",
              "title": "Maximum blobs",
              "description": "Maximum number of blobs per block"
            },
            "target": {
              "type": "integer",
              "title": "Target blobs",
              "description": "Target number of blobs per block"
            }
          },
          "required": [
            "baseFeeUpdateFraction",
            "max",
            "target"
          ]
        },
        "chainId": {
          "type": "string",
          "title": "Chain ID",
          "description": "The chain ID for this configuration",
          "pattern": "^0x(0|[1-9a-f][0-9a-f]*)$"
        },
        "forkId": {
          "type": "string",
          "title": "Fork ID",
          "description": "The FORK_HASH value as specified in EIP-6122 of the specific fork",
          "pattern": "^0x[0-9a-f]{8}$"
        },
        "precompiles": {
          "type": "object",
          "title": "Precompiles",
          "description": "Mapping of precompile names to their addresses"
        },
        "systemContracts": {
          "type": "object",
          "title": "System contracts",
          "description": "Mapping of system contract names to their addresses"
        }
      },
      "required": [
        "activationTime",
        "blobSchedule",
        "chainId",
        "forkId",
        "precompiles",
        "systemContracts"
      ]
    },
    "last": {
      "title": "Last configuration",
      "description": "Configuration for the last configured fork, null if no future forks scheduled",
      "oneOf": [
        {
          "type": "object",
          "title": "Configuration object",
          "description": "Represents a specific fork configuration",
          "properties": {
            "activationTime": {
              "type": "number",
              "title": "Activation time",
              "description": "Unix timestamp when this configuration becomes active"
            },
            "blobSchedule": {
              "type": "object",
              "title": "Blob schedule",
              "description": "Configuration for blob fee schedule",
              "properties": {
                "baseFeeUpdateFraction": {
                  "type": "integer",
                  "title": "Base fee update fraction",
                  "description": "Fraction used for updating blob base fees"
                },
                "max": {
                  "type": "integer",
                  "title": "Maximum blobs",
                  "description": "Maximum number of blobs per block"
                },
                "target": {
                  "type": "integer",
                  "title": "Target blobs",
                  "description": "Target number of blobs per block"
                }
              },
              "required": [
                "baseFeeUpdateFraction",
                "max",
                "target"
              ]
            },
            "chainId": {
              "type": "string",
              "title": "Chain ID",
              "description": "The chain ID for this configuration",
              "pattern": "^0x(0|[1-9a-f][0-9a-f]*)$"
            },
            "forkId": {
              "type": "string",
              "title": "Fork ID",
              "description": "The FORK_HASH value as specified in EIP-6122 of the specific fork",
              "pattern": "^0x[0-9a-f]{8}$"
            },
            "precompiles": {
              "type": "object",
              "title": "Precompiles",
              "description": "Mapping of precompile names to their addresses"
            },
            "systemContracts": {
              "type": "object",
              "title": "System contracts",
              "description": "Mapping of system contract names to their addresses"
            }
          },
          "required": [
            "activationTime",
            "blobSchedule",
            "chainId",
            "forkId",
            "precompiles",
            "systemContracts"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "next": {
      "title": "Next configuration",
      "description": "Configuration for the next scheduled fork, null if no future forks scheduled",
      "oneOf": [
        {
          "type": "object",
          "title": "Configuration object",
          "description": "Represents a specific fork configuration",
          "properties": {
            "activationTime": {
              "type": "number",
              "title": "Activation time",
              "description": "Unix timestamp when this configuration becomes active"
            },
            "blobSchedule": {
              "type": "object",
              "title": "Blob schedule",
              "description": "Configuration for blob fee schedule",
              "properties": {
                "baseFeeUpdateFraction": {
                  "type": "integer",
                  "title": "Base fee update fraction",
                  "description": "Fraction used for updating blob base fees"
                },
                "max": {
                  "type": "integer",
                  "title": "Maximum blobs",
                  "description": "Maximum number of blobs per block"
                },
                "target": {
                  "type": "integer",
                  "title": "Target blobs",
                  "description": "Target number of blobs per block"
                }
              },
              "required": [
                "baseFeeUpdateFraction",
                "max",
                "target"
              ]
            },
            "chainId": {
              "type": "string",
              "title": "Chain ID",
              "description": "The chain ID for this configuration",
              "pattern": "^0x(0|[1-9a-f][0-9a-f]*)$"
            },
            "forkId": {
              "type": "string",
              "title": "Fork ID",
              "description": "The FORK_HASH value as specified in EIP-6122 of the specific fork",
              "pattern": "^0x[0-9a-f]{8}$"
            },
            "precompiles": {
              "type": "object",
              "title": "Precompiles",
              "description": "Mapping of precompile names to their addresses"
            },
            "systemContracts": {
              "type": "object",
              "title": "System contracts",
              "description": "Mapping of system contract names to their addresses"
            }
          },
          "required": [
            "activationTime",
            "blobSchedule",
            "chainId",
            "forkId",
            "precompiles",
            "systemContracts"
          ]
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "current",
    "next",
    "last"
  ]
}

Example request

Endpoint: https://your-bsc-node.azxa.io

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_config",
  "params": []
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "current": {
      "activationTime": 1746612311,
      "blobSchedule": {
        "baseFeeUpdateFraction": 5007716,
        "max": 9,
        "target": 6
      },
      "chainId": "0x1",
      "forkId": "0x3ff0e375",
      "precompiles": {
        "BLAKE2F": "0x0000000000000000000000000000000000000009",
        "BLS12_G1ADD": "0x000000000000000000000000000000000000000b",
        "BLS12_G1MSM": "0x000000000000000000000000000000000000000c",
        "BLS12_G2ADD": "0x000000000000000000000000000000000000000d",
        "BLS12_G2MSM": "0x000000000000000000000000000000000000000e",
        "BLS12_MAP_FP2_TO_G2": "0x0000000000000000000000000000000000000011",
        "BLS12_MAP_FP_TO_G1": "0x0000000000000000000000000000000000000010",
        "BLS12_PAIRING_CHECK": "0x000000000000000000000000000000000000000f",
        "BN254_ADD": "0x0000000000000000000000000000000000000006",
        "BN254_MUL": "0x0000000000000000000000000000000000000007",
        "BN254_PAIRING": "0x0000000000000000000000000000000000000008",
        "ECREC": "0x0000000000000000000000000000000000000001",
        "…": "5 more fields"
      },
      "systemContracts": {
        "BEACON_ROOTS_ADDRESS": "0x000f3df6d732807ef1319fb7b8bb8522d0beac02",
        "CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS": "0x0000bbddc7ce488642fb579f8b00f3a590007251",
        "DEPOSIT_CONTRACT_ADDRESS": "0x00000000219ab540356cbb839cbe05303d7705fa",
        "HISTORY_STORAGE_ADDRESS": "0x0000f90827f1c53a10cb7a02335b175320002935",
        "WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS": "0x00000961ef480eb55e80d19ad83579a64c007002"
      }
    },
    "last": null,
    "next": null
  }
}

Test fixture

Fixture: get-config

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_config"
}
Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "current": {
      "activationTime": 540,
      "blobSchedule": {
        "target": 14,
        "max": 21,
        "baseFeeUpdateFraction": 11684671
      },
      "chainId": "0xc72dd9d5e883e",
      "forkId": "0xe272ecbe",
      "precompiles": {
        "BLAKE2F": "0x0000000000000000000000000000000000000009",
        "BLS12_G1ADD": "0x000000000000000000000000000000000000000b",
        "BLS12_G1MSM": "0x000000000000000000000000000000000000000c",
        "BLS12_G2ADD": "0x000000000000000000000000000000000000000d",
        "BLS12_G2MSM": "0x000000000000000000000000000000000000000e",
        "BLS12_MAP_FP2_TO_G2": "0x0000000000000000000000000000000000000011",
        "BLS12_MAP_FP_TO_G1": "0x0000000000000000000000000000000000000010",
        "BLS12_PAIRING_CHECK": "0x000000000000000000000000000000000000000f",
        "BN254_ADD": "0x0000000000000000000000000000000000000006",
        "BN254_MUL": "0x0000000000000000000000000000000000000007",
        "BN254_PAIRING": "0x0000000000000000000000000000000000000008",
        "ECREC": "0x0000000000000000000000000000000000000001",
        "…": "6 more fields"
      },
      "systemContracts": {
        "BEACON_ROOTS_ADDRESS": "0x000f3df6d732807ef1319fb7b8bb8522d0beac02",
        "CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS": "0x0000bbddc7ce488642fb579f8b00f3a590007251",
        "DEPOSIT_CONTRACT_ADDRESS": "0x0000000000000000000000000000000000000000",
        "HISTORY_STORAGE_ADDRESS": "0x0000f90827f1c53a10cb7a02335b175320002935",
        "WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS": "0x00000961ef480eb55e80d19ad83579a64c007002"
      }
    },
    "next": null,
    "last": null
  }
}

cURL

curl -X POST https://your-bsc-node.azxa.io \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_config","params":[]}'
1

Select Chain

2

Desired Period

3

Contact Information

cross

Select Preferred Chain

BNB Smart Chain
Polygon
Tron
Arbitrum
Optimism
IoTeX
Gnosis
Fantom
Moonbeam
Polkadot
Avalanche
Bitcoin
Ethereum
Aptos
Other
cube

Other Chain

Continue
logo
cross
background