v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
Primary Network Blocks

Get block

Gets a block by block height or block hash on one of the Primary Network chains.

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

Path parameters

blockchainId'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain' required

A primary network blockchain id or alias.

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

Either mainnet or testnet/fuji.

blockIdstring required

A block identifier which is either a block number or the block hash.

Response

Successful response

blockNumberstring required
blockHashstring required
parentHashstring required
blockTimestampnumber required
blockTypestring required
txCountnumber required
transactionsstring[] required
blockSizeBytesnumber required
l1ValidatorsAccruedFeesnumber
activeL1Validatorsnumber
currentSupplystring