erigon_getHeaderByNumber RPC Method
Parameters
blockNumber
string
REQUIRED
The block number
Returns
result
object
The result object which contains the following fields:
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
array
The bloom filter for the logs of the block. Null when it's a pending block
difficulty
string
The integer of the difficulty for this block encoded as hexadecimal
number
string
The block number of the requested block, 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 used gas by all transactions in this block encoded as hexadecimal
timestamp
string
The UNIX timestamp for when the block was collated
extraData
string
The extra data field of this block
mixHash
string
A string of a 256-bit hash encoded as hexadecimal
nonce
string
The hash of the generated proof-of-work. Null when it's a pending block
AuRaStep
integer
Indicates the step in the Aura consensus process
AuRaSeal
string
The seal data for the Aura consensus, if applicable
baseFeePerGas
string
The base fee per gas unit, relevant in EIP-1559 transactions, which can be null if not applicable
withdrawalsRoot
string
The root hash of the withdrawals trie
blobGasUsed
string
The amount of gas used for blobs
excessBlobGas
string
The excess gas used for blobs beyond the block's gas limit
parentBeaconBlockRoot
string
The root of the parent beacon block
Verkle
boolean
Indicates if Verkle trees are used, a more efficient form of Merkle trees
VerkleProof
string
The proof data for Verkle trees
VerkleKeyVals
string
The key-value pairs for Verkle trees
hash
string
The hash of the block header
Request
1curl --location 'https://docs-demo.bsc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "erigon_getHeaderByNumber",5"params": [6"0x10c582e"7],8"id": 1,9"jsonrpc": "2.0"10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free