Block by Height
block request type
Fetch a block's header and chunk summaries by its height in the chain.
block request type
Fetch a block's header and chunk summaries by its height in the chain.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
This operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "block",
"params": {
"block_id": 9820210
}
}jsonrpc *string2.0id *stringmethod *stringblockparams *objectblock_id *integerBlock height to query
Successful response
jsonrpc *string2.0id *one ofresultobjectauthor *stringNEAR account ID
chunks *arrayitemsobjectContains main info about the chunk.
header *objectContains main info about the block.
approvals *arrayitemsobjectblock_body_hashstringnullableBase58-encoded hash
block_merkle_root *stringBase58-encoded hash
block_ordinalintegernullablechallenges_result *arrayitemsobjectchallenges_root *stringBase58-encoded hash
chunk_endorsementsarrayitemsobjectchunk_execution_rootstringnullableBase58-encoded hash
chunk_headers_root *stringBase58-encoded hash
chunk_mask *arrayitemsobjectchunk_receipts_root *stringBase58-encoded hash
chunk_tx_root *stringBase58-encoded hash
chunks_included *integerepoch_id *stringBase58-encoded hash
epoch_sync_data_hashstringnullableBase58-encoded hash
gas_price *stringAmount in yoctoNEAR
hash *stringBase58-encoded hash
height *integerlast_ds_final_block *stringBase58-encoded hash
last_final_block *stringBase58-encoded hash
latest_protocol_version *integernext_bp_hash *stringBase58-encoded hash
next_epoch_id *stringBase58-encoded hash
outcome_root *stringBase58-encoded hash
prev_hash *stringBase58-encoded hash
prev_heightintegernullableprev_last_certified_block_epoch_idstringnullableBase58-encoded epoch identifier hash
prev_state_root *stringBase58-encoded hash
random_value *stringBase58-encoded hash
rent_paidstringAmount in yoctoNEAR
shard_splitarrayitemsobjectsignature *stringBase58-encoded cryptographic signature
spice_chunk_endorsement_statsarrayitemsobjecttimestamp *integerLegacy json number. Should not be used.
timestamp_nanosec *stringtotal_supply *stringAmount in yoctoNEAR
validator_proposals *arrayitemsobjectvalidator_rewardstringAmount in yoctoNEAR
errorobjectcodeintegermessagestringdataobject