Skip to main content

erigon_getHeaderByNumber RPC Method

Fetches the header of a block by its block number

Updated on
Apr 16, 2026

Parameters

blockNumber
string
REQUIRED

The block number

Returns

parentHash
string

The hash of the parent block

sha3Uncles
string

The SHA3 of the uncles data in the block

miner
string

The address of the beneficiary to whom the mining rewards were given

stateRoot
string

The root of the final state trie of the block

transactionsRoot
string

The root of the transaction trie of the block

receiptsRoot
string

The root of the receipts trie of the block

logsBloom
string

The bloom filter for the logs of the block, null when it's a pending block

difficulty
string

The difficulty level of this block encoded as hexadecimal

number
string

The block number encoded as hexadecimal, null when it's a pending block

gasLimit
string

The maximum gas allowed in this block encoded as hexadecimal

gasUsed
string

The total gas used by all transactions in this block encoded as hexadecimal

timestamp
string

The UNIX timestamp for when the block was collated, encoded as hexadecimal

extraData
string

The extra data field of the block

mixHash
string

The 256-bit hash encoded as hexadecimal

nonce
string

The hash of the generated proof-of-work, null when it's a pending block

baseFeePerGas
string

The base fee per gas in hexadecimal, or null if not applicable

withdrawalsRoot
string

The Merkle root of withdrawal data, or null if not applicable

blobGasUsed
string

The total blob gas consumed by the block, or null if not applicable

excessBlobGas
string

The excess blob gas carried into this block, or null if not applicable

parentBeaconBlockRoot
string

The root hash of the parent beacon block, or null if not applicable

Verkle
boolean

Indicates if the block uses Verkle trie structures, false if not applicable

VerkleProof
string

The Verkle proof data for the block, or null if not applicable

VerkleKeyVals
string

The Verkle key-value pairs for the block, or null if not applicable

hash
string

The block hash of the requested block, null when it's a pending block

Request
Response
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"error": {
5
"code": -32601,
6
"message": "the method erigon_getHeaderByNumber does not exist/is not available"
7
}
8
}
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"error": {
5
"code": -32601,
6
"message": "the method erigon_getHeaderByNumber does not exist/is not available"
7
}
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free