Skip to main content

block RPC Method

Queries the network and returns block information for the given block height or hash. To return the latest block information, the finality parameter shall be used.

Updated on
Oct 04, 2023

Parameters

finality
string

The assurance that the transaction cannot be altered, reversed, or canceled after they are completed. For finality=final, it means that it has been validated on at least 66% of the nodes in the network and for finality=optimistic, it uses the latest block recorded on the node that responded to the query passed

block_id
integer/string

The block id which could be either a block number or block hash

Returns

author
string

The author name

chunks
array

The information about the chunks

balance_burnt
string

The number of tokens burnt

chunk_hash
string

The hash of the chunk

encoded_length
integer

The chunk length encoded in integer format

encoded_merkle_root
string

The merkle root encoded in hexadecimal form

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 outcome root

outgoing_receipts_root
string

The root of the outgoing receipts of the block

prev_block_hash
string

The hash of the previous block corresponding to the current one

prev_state_root
string

The previous root state of the corresponding block

rent_paid
string

The number of tokens paid as rent

shard_id
integer

The id of the multiple data grouped together

validator_reward
string

The reward sent to the validators

signature
string

The standard ed25519 signature type

tx_root
string

The transaction root

validator_proposals
array

An array of proposals provided by the validators

header
object

The header of the block

approvals
array

An array of signatures, encoded in the standard ed25519 signature type

block_merkle_root
string

The merkle root of the block

block_ordinal
integer

The ordinal number of the block

challenges_result
array

An array of challenges outcome

challenges_root
string

The root challenges incurred

chunk_headers_root
string

The root of the headers trie of the block

chunk_mask
array

A boolean value

chunk_receipts_root
string

The root of the receipts trie of the block

chunk_tx_root
string

The root of the transaction trie of the block

chunks_included
integer

The chunks included in the queried block

epoch_id
string

The corresponding epoch id

epoch_sync_data_hash
null

The epoch sync data hash

gas_price
string

Integer of the gasPrice used for each paid gas encoded as a hexadecimal

hash
string

The block hash

height
integer

The block height or index

last_ds_final_block
string

The last ds final block

last_final_block
string

The address of the last final block

latest_protocol_version
integer

The version of the latest protocol

next_bp_hash
string

The hash of the next bp node

next_epoch_id
string

The id next to the current epoch number

outcome_root
string

The root of the outcome trie of the block

prev_hash
string

The hash of the previous block

prev_height
integer

The height of the previous block

prev_state_root
string

The previous state of the root of corresponding block

random_value
string

The random value generated to make the result deterministic

rent_paid
string

The number of tokens paid as rent

signature
string

The standard ed25519 signature type

timestamp
integer

The unix timestamp for when the block was collated

timestamp_nanosec
string

The timestamp in nano second for when the block was collated

total_supply
string

The total number of tokens supplied

validator_proposals
array

The validator proposals

validator_reward
string

The reward sent to the validators

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