v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
Primary Network

Get blockchain details by ID

Get details of the blockchain registered on the network.

get/v1/networks/{network}/blockchains/{blockchainId}

Path parameters

blockchainIdstring required

The blockchain ID of the blockchain to retrieve.

network'mainnet' | 'fuji' | 'testnet' required

Either mainnet or testnet/fuji.

Response

Successful response

createBlockTimestampnumber required
createBlockNumberstring required
blockchainIdstring required
vmIdstring required
subnetIdstring required
blockchainNamestring required
evmChainIdnumber

EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.

Example response

{
  "evmChainId": 43114,
  "genesisData": {
    "airdropHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "alloc": {
      "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd": {
        "balance": "0x52b7d2dcc80cd2e4000000",
        "code": "0x6080604052...",
        "storage": {
          "0x0": "0x1"
        }
      }
    },
    "coinbase": "0x0000000000000000000000000000000000000000",
    "config": {
      "chainId": 43114,
      "eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
      "feeConfig": {
        "baseFeeChangeDenominator": 36,
        "blockGasCostStep": 200000,
        "gasLimit": 12000000,
        "maxBlockGasCost": 1000000,
        "minBaseFee": 25000000000,
        "targetBlockRate": 2,
        "targetGas": 60000000
      },
      "warpConfig": {
        "blockTimestamp": 1690000000,
        "quorumNumerator": 67,
        "requirePrimaryNetworkSigners": true
      },
      "txAllowListConfig": {
        "adminAddresses": [
          "0x1234..."
        ],
        "managerAddresses": [
          "0x5678..."
        ],
        "enabledAddresses": [
          "0x9abc..."
        ]
      },
      "contractDeployerAllowListConfig": {
        "adminAddresses": [
          "0x1234..."
        ],
        "managerAddresses": [
          "0x5678..."
        ],
        "enabledAddresses": [
          "0x9abc..."
        ]
      },
      "contractNativeMinterConfig": {
        "adminAddresses": [
          "0x1234..."
        ],
        "managerAddresses": [
          "0x5678..."
        ],
        "enabledAddresses": [
          "0x9abc..."
        ]
      },
      "feeManagerConfig": {
        "adminAddresses": [
          "0x1234..."
        ],
        "managerAddresses": [
          "0x5678..."
        ],
        "enabledAddresses": [
          "0x9abc..."
        ]
      },
      "rewardManagerConfig": {
        "adminAddresses": [
          "0x1234..."
        ],
        "managerAddresses": [
          "0x5678..."
        ],
        "enabledAddresses": [
          "0x9abc..."
        ]
      }
    },
    "difficulty": "0x0",
    "extraData": "0x",
    "gasLimit": "0xb71b00",
    "gasUsed": "0x0",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0",
    "number": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "timestamp": "0x64f0a000"
  }
}