Skip to main content

chain_getHeader RPC Method

Get header of a relay chain block.

Updated on
Jul 18, 2025

chain_getHeader RPC Method

Parameters

hash
string
The block hash. If not provided, takes the latest block

Returns

result
object
The block header information
parentHash
string
Hash of the parent block
number
string
Block number in hexadecimal
stateRoot
string
Merkle root of the state trie after this block
extrinsicsRoot
string
Merkle root of the extrinsics in the block
digest
object
Block digest containing consensus and runtime logs
logs
array
List of digest log entries as hex strings
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free