Skip to main content

Get block's data by number

Given block number for a chain and get it's full data

Query Parameters
chain string REQUIRED

Chain code for the block

Responses
200

When the API call was success, it will return full data for any block

Schema OPTIONAL
data object OPTIONAL
hash string OPTIONAL
parent_hash string OPTIONAL
uncle_hash string OPTIONAL
root string OPTIONAL
tx_hash string OPTIONAL
receipt_hash string OPTIONAL
number int64 OPTIONAL
difficulty number OPTIONAL
gas_limit number OPTIONAL
gas_used number OPTIONAL
time timestamp OPTIONAL
extra bytearray OPTIONAL
nonce int64 OPTIONAL
error_code int64 OPTIONAL
error_message string OPTIONAL
400

Invalid block number

404

Block not found

405

Validation exception