Skip to main content

header.GetRangeByHeight RPC Method

Returns the given range (from:to) of ExtendedHeaders from the node's header store and verifies that the returned headers are adjacent to each other.

Updated on
Sep 16, 2025

Parameters

object
object
REQUIRED

An object which contains the follwing fields:

header
object

The header object which contains the information about the block header

version
object

The version of the block and the application

block
string

The block version

app
string

The application version

chain_id
string

The ID of the blockchain

height
string

The height of the block

time
string

The time at which the block was created

last_block_id
object

The last_block_id object which contains the information about the last block's ID

hash
string

The hash of the last block

parts
object

The parts object which contains the information about the parts of the last block

total
integer

The total number of parts of the last block

hash
string

The hash of the parts of the last block

last_commit_hash
string

The hash of the last commit

data_hash
string

The hash of the block's data

validators_hash
string

The hash of the validators

next_validators_hash
string

The hash of the next validators

consensus_hash
string

The hash of the consensus

app_hash
string

The hash of the application

last_results_hash
string

The hash of the last results

evidence_hash
string

The hash of the evidence

proposer_address
string

The address of the proposer

validator_set
object

Information about validators

validators
array

An array of validators, which contains the following fields:

address
string

The address of the validator

pub_key
object

The public key of the validator

type
string

The type of public key

value
string

The value of public key

voting_power
string

The voting power of the validator

proposer_priority
string

The proposer priority of the validator

proposer
object

Information about the proposer for the round

address
string

The address of the proposer

pub_key
object

The public key of the proposer

type
string

The type of public key

value
string

The value of public key

voting_power
string

The voting power of the proposer

proposer_priority
string

The proposer priority of the proposer

commit
object

The information about the commit associated with the block

height
integer

The height of the commit

round
integer

The round of the commit

block_id
object

The block_id object which provide the information about the ID of the last commit's block

hash
string

The hash of the last commit's block

parts
object

The parts object which provide the information about the parts of the last commit's block

total
integer

The total number of parts of the last commit's block

hash
string

The hash of the parts of the last commit's block

signatures
array

An array of signatures which contains the following fields:

block_id_flag
integer

The flag for the block ID

validator_address
string

The address of the validator who created this signature

timestamp
string

The timestamp of the signature

signature
string | null

(Optional) The signature, or null when not present

dah
object

The dah object which contains the following fields:

row_roots
array

An array of root hashes for each row in the data availability header, representing row-based Merkle roots to verify data integrity and availability

column_roots
array

An array of root hashes for each column in the data availability header, representing column-based Merkle roots

to
integer
REQUIRED

The end range of the block

Returns

result
array

An array of extended headers in the requested height range

header
object

The header object which contains the information about the block header

version
object

The version of the block and the application

block
string

The block version

app
string

The application version

chain_id
string

The ID of the blockchain

height
string

The height of the block

time
string

The time at which the block was created

last_block_id
object

The last_block_id object which contains the information about the last block's ID

hash
string

The hash of the last block

parts
object

The parts object which contains the information about the parts of the last block

total
integer

The total number of parts of the last block

hash
string

The hash of the parts of the last block

last_commit_hash
string

The hash of the last commit

data_hash
string

The hash of the block's data

validators_hash
string

The hash of the validators

next_validators_hash
string

The hash of the next validators

consensus_hash
string

The hash of the consensus

app_hash
string

The hash of the application

last_results_hash
string

The hash of the last results

evidence_hash
string

The hash of the evidence

proposer_address
string

The address of the proposer

commit
object

The information about the commit associated with the block

height
string

The height of the commit

round
integer

The round of the commit

block_id
object

The block_id object which provide the information about the ID of the last commit's block

hash
string

The hash of the last commit's block

parts
object

The parts object which provide the information about the parts of the last commit's block

total
integer

The total number of parts of the last commit's block

hash
string

The hash of the parts of the last commit's block

signatures
array

An array of signatures which contains the following fields:

block_id_flag
integer

The flag for the block ID

validator_address
string

The address of the validator who created this signature

timestamp
string

The timestamp of the signature

signature
string | null

(Optional) The signature, or null when not present

validator_set
object

Information about validators

validators
array

An array of validators, which contains the following fields:

address
string

The address of the validator

pub_key
object

The public key of the validator

type
string

The type of public key

value
string

The value of public key

voting_power
string

The voting power of the validator

proposer_priority
string

The proposer priority of the validator

proposer
object

Information about the proposer for the round

address
string

The address of the proposer

pub_key
object

The public key of the proposer

type
string

The type of public key

value
string

The value of public key

voting_power
string

The voting power of the proposer

proposer_priority
string

The proposer priority of the proposer

dah
object

The dah object which contains the following fields:

row_roots
array

An array of root hashes for each row in the data availability header, representing row-based Merkle roots to verify data integrity and availability

column_roots
array

An array of root hashes for each column in the data availability header, representing column-based Merkle roots

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