Skip to main content

header REST API Endpoint

Get the header at a specified height.

Updated on
Apr 15, 2024

header REST API Endpoint

Query Parameters

height
integer
REQUIRED
The block height to return. If no height is provided, the latest block is to be fetched

Returns

result
object
The result object which contains the following 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
The block version
app
The application version
chain_id
The ID of the blockchain
height
The height of the block
time
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
The hash of the last block
parts
The parts object which contains the information about the parts of the last block
total
The total number of parts of the last block
hash
The hash of the parts of the last block
last_commit_hash
The hash of the last commit
data_hash
The hash of the block's data
validators_hash
The hash of the validators
next_validators_hash
The hash of the next validators
consensus_hash
The hash of the consensus
app_hash
The hash of the application
last_results_hash
The hash of the last results
evidence_hash
The hash of the evidence
proposer_address
The address of the proposer
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/header?height=13735848'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free