Chunk by Block and Shard
chunk request type
Fetch a single chunk's transactions and receipts by its parent block plus shard index.
chunk request type
Fetch a single chunk's transactions and receipts by its parent block plus shard index.
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": "chunk",
"params": {
"block_id": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T",
"shard_id": 10
}
}jsonrpc *string2.0id *stringmethod *stringchunkparams *objectblock_id *one ofBlock height (integer) or block hash (string)
Block height
Base58-encoded block hash
shard_id *integerShard identifier
Successful response
jsonrpc *string2.0id *one ofresultobjectauthor *stringNEAR account ID
header *objectContains main info about the chunk.
balance_burnt *stringAmount in yoctoNEAR
bandwidth_requestsobjectnullableOne of multiple possible types
chunk_hash *stringBase58-encoded hash
congestion_infoobjectnullableStores the congestion level of a shard. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)
encoded_length *integerencoded_merkle_root *stringBase58-encoded hash
gas_limit *stringGas amount
gas_used *stringGas amount
height_created *integerheight_included *integeroutcome_root *stringBase58-encoded hash
outgoing_receipts_root *stringBase58-encoded hash
prev_block_hash *stringBase58-encoded hash
prev_state_root *stringBase58-encoded hash
rent_paidstringAmount in yoctoNEAR
shard_id *integerShard identifier
signature *stringBase58-encoded cryptographic signature
tx_root *stringBase58-encoded hash
validator_proposals *arrayitemsobjectvalidator_rewardstringAmount in yoctoNEAR
receipts *arrayitemsobjecttransactions *arrayitemsobjecterrorobjectcodeintegermessagestringdataobject