curl --request POST \
--url https://rpc.mainnet.near.org/chunk \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "chunk",
"params": {
"block_id": 1,
"shard_id": 1
}
}
'{
"result": {
"author": "<string>",
"header": {
"balance_burnt": "<string>",
"chunk_hash": "<string>",
"encoded_length": 1,
"encoded_merkle_root": "<string>",
"gas_limit": 1,
"gas_used": 1,
"height_created": 1,
"height_included": 1,
"outcome_root": "<string>",
"outgoing_receipts_root": "<string>",
"prev_block_hash": "<string>",
"prev_state_root": "<string>",
"shard_id": 1,
"signature": "<string>",
"tx_root": "<string>",
"validator_proposals": [
{
"account_id": "<string>",
"public_key": "<string>",
"stake": "<string>",
"validator_stake_struct_version": "V1"
}
],
"bandwidth_requests": {
"V1": {
"requests": [
{
"requested_values_bitmap": {
"data": [
127
]
},
"to_shard": 32767
}
]
}
},
"congestion_info": {
"allowed_shard": 32767,
"buffered_receipts_gas": "<string>",
"delayed_receipts_gas": "<string>",
"receipt_bytes": 1
},
"proposed_split": {
"boundary_account": "<string>",
"left_memory": 1,
"right_memory": 1
},
"rent_paid": "0",
"validator_reward": "0"
},
"receipts": [
{
"predecessor_id": "<string>",
"receipt": {
"Action": {
"actions": [
"CreateAccount"
],
"gas_price": "<string>",
"input_data_ids": [
"<string>"
],
"output_data_receivers": [
{
"data_id": "<string>",
"receiver_id": "<string>"
}
],
"signer_id": "<string>",
"signer_public_key": "<string>",
"is_promise_yield": false,
"refund_to": "<string>"
}
},
"receipt_id": "<string>",
"receiver_id": "<string>",
"priority": 0
}
],
"transactions": [
{
"actions": [
"CreateAccount"
],
"hash": "<string>",
"nonce": 1,
"public_key": "<string>",
"receiver_id": "<string>",
"signature": "<string>",
"signer_id": "<string>",
"nonce_index": 32767,
"priority_fee": 0
}
]
},
"id": "<string>",
"jsonrpc": "<string>"
}Returns details of a specific chunk. You can run a block details query to get a valid chunk hash.
curl --request POST \
--url https://rpc.mainnet.near.org/chunk \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "chunk",
"params": {
"block_id": 1,
"shard_id": 1
}
}
'{
"result": {
"author": "<string>",
"header": {
"balance_burnt": "<string>",
"chunk_hash": "<string>",
"encoded_length": 1,
"encoded_merkle_root": "<string>",
"gas_limit": 1,
"gas_used": 1,
"height_created": 1,
"height_included": 1,
"outcome_root": "<string>",
"outgoing_receipts_root": "<string>",
"prev_block_hash": "<string>",
"prev_state_root": "<string>",
"shard_id": 1,
"signature": "<string>",
"tx_root": "<string>",
"validator_proposals": [
{
"account_id": "<string>",
"public_key": "<string>",
"stake": "<string>",
"validator_stake_struct_version": "V1"
}
],
"bandwidth_requests": {
"V1": {
"requests": [
{
"requested_values_bitmap": {
"data": [
127
]
},
"to_shard": 32767
}
]
}
},
"congestion_info": {
"allowed_shard": 32767,
"buffered_receipts_gas": "<string>",
"delayed_receipts_gas": "<string>",
"receipt_bytes": 1
},
"proposed_split": {
"boundary_account": "<string>",
"left_memory": 1,
"right_memory": 1
},
"rent_paid": "0",
"validator_reward": "0"
},
"receipts": [
{
"predecessor_id": "<string>",
"receipt": {
"Action": {
"actions": [
"CreateAccount"
],
"gas_price": "<string>",
"input_data_ids": [
"<string>"
],
"output_data_receivers": [
{
"data_id": "<string>",
"receiver_id": "<string>"
}
],
"signer_id": "<string>",
"signer_public_key": "<string>",
"is_promise_yield": false,
"refund_to": "<string>"
}
},
"receipt_id": "<string>",
"receiver_id": "<string>",
"priority": 0
}
],
"transactions": [
{
"actions": [
"CreateAccount"
],
"hash": "<string>",
"nonce": 1,
"public_key": "<string>",
"receiver_id": "<string>",
"signature": "<string>",
"signer_id": "<string>",
"nonce_index": 32767,
"priority_fee": 0
}
]
},
"id": "<string>",
"jsonrpc": "<string>"
}