Skip to main content

chain_getHeader RPC Method - AssetHub

Get header of a relay chain block.

Updated on
Jul 25, 2025

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
array | 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