Returns details about the particular chunk. A block detail query can be used to obtain a valid chunk hash.
Supported on NEAR (mainnet) only.
Parameters
chunk_id
- string - The hash of the chunk idblock_id
- int - The block id, it could be either block number or block hashshard_id
- int - The shard id
Note: Either chunk_id or block_id to be used along with shard_id as parameters.
Returns
author
- The author nameheader
- The header of the chunkbalance_burnt
- The number of tokens burntchunk_hash
- The hash of the chunkencoded_length
- The chunk length encoded in integer formatencoded_merkle_root
- The encoded merkle rootgas_limit
- The maximum gas allowed in this blockgas_used
- The total used gas by all transactions in this blockheight_created
- The chunk height createdheight_included
- The included height of the chunkoutcome_root
- The root of the outcome trie of the blockoutgoing_receipts_root
- The root of the outgoing receipts of the blockprev_block_hash
- The hash of the previous block chunk corresponding to the current oneprev_state_root
- The previous state of the root of corresponding blockrent_paid
- The number of tokens paid as rentshard_id
- The id of the multiple data grouped togethersignature
- The standard ed25519 signature typetx_root
- The transaction rootvalidator_proposals
- An array of proposals provided by the validatorsvalidator_reward
- The reward sent to the validators
transactions
- An array of multiple transactionsactions
- An action built from near-api-js.transactionshash
- The hash of the transactionnonce
- The number of transactions made by the sender prior to this one encoded as hexadecimalpublic_key
- The public key of the signerreceiver_id
- The account id of the transaction receiversignature
- Standard ed25519 signature typesigner_id
- The account id of the transaction originator
receipts
- An array of receipts
API Endpoint
The format of a Near API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/near/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/near/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/near/ \
--request POST \
--header "Content-Type: application/json" \
--data '{"method": "chunk","params": {"block_id": 80712125, "shard_id": 0},"id":1,"jsonrpc":"2.0"}'
Result