Skip to main content

chunk RPC Method

Returns details about the particular chunk. A block detail query can be used to obtain a valid chunk hash.

Updated on
Oct 04, 2023

Parameters

options
object

Specifies the query method by selecting one of the available options.

option_1
object

Query based on a specific chunk ID.

chunk_id
string

The hash of the chunk ID.

option_2
object

Query based on block ID and shard ID.

block_id
integer

The block identifier, which can be either a block number or a block hash.

shard_id
integer

The shard identifier.

Returns

author
string

The author name

header
object

The header of the chunk

balance_burnt
string

The number of tokens burnt

bandwidth_requests
null

Information about bandwidth requests. If null, no bandwidth request data is available

congestion_info
object

Details about network congestion. If null, no congestion data is available

chunk_hash
string

The hash of the chunk

encoded_length
integer

The chunk length encoded in integer format

encoded_merkle_root
string

The encoded merkle root

gas_limit
integer

The maximum gas allowed in this block

gas_used
integer

The total used gas by all transactions in this block

height_created
integer

The chunk height created

height_included
integer

The included height of the chunk

outcome_root
string

The root of the outcome trie of the block

outgoing_receipts_root
string

The root of the outgoing receipts of the block

prev_block_hash
string

The hash of the previous block chunk corresponding to the current one

prev_state_root
string

The previous state of the root of corresponding block

rent_paid
string

The number of tokens paid as rent

shard_id
integer

The id of the multiple data grouped together

signature
string

The standard ed25519 signature type

tx_root
string

The transaction root

validator_proposals
array

An array of proposals provided by the validators

validator_reward
string

The reward sent to the validators

transactions
array

An array of multiple transactions

actions
array

An action built from near-api-js.transactions

FunctionCall
object

Represents a function call action within the transaction.

args
string

Base64-encoded arguments passed to the function.

deposit
string

The amount of tokens (in yocto) attached to the function call.

gas
integer

The amount of gas allocated for the function execution.

method_name
string

The name of the method being invoked in the function call.

hash
string

The hash of the transaction

nonce
integer

The number of transactions made by the sender prior to this one encoded as hexadecimal

priority_fee
integer

The priority fee

public_key
string

The public key of the signer

receiver_id
string

The account id of the transaction receiver

signature
string

Standard ed25519 signature type

signer_id
string

The account id of the transaction originator

receipts
array

An array of receipts

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free