pulsechain.box
erigon

erigon_getHeaderByNumber

Returns the block header for a given block number as a JSON object.

Returns the block header for a given block number as a JSON object.

Parameters

#TypeDescription
1stringBlock number as hex string.

Returns

FieldTypeDescription
parentHashstringHash of the parent block.
sha3UnclesstringSHA3 hash of the uncles list.
minerstringAddress of the block producer.
stateRootstringRoot hash of the state trie.
transactionsRootstringRoot hash of the transactions trie.
receiptsRootstringRoot hash of the receipts trie.
logsBloomstringBloom filter for log entries.
difficultystringBlock difficulty (hex).
numberstringBlock number (hex).
gasLimitstringMaximum gas allowed in the block (hex).
gasUsedstringTotal gas used by all transactions (hex).
timestampstringUnix timestamp of the block (hex).
extraDatastringExtra data field.
mixHashstringMix hash used for proof-of-work verification.
noncestringProof-of-work nonce.
baseFeePerGasstringBase fee per gas (EIP-1559, hex).
hashstringBlock hash.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "erigon_getHeaderByNumber",
    "params": ["0x100"],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "parentHash": "0x...",
    "sha3Uncles": "0x...",
    "miner": "0x...",
    "stateRoot": "0x...",
    "transactionsRoot": "0x...",
    "receiptsRoot": "0x...",
    "logsBloom": "0x...",
    "difficulty": "0x0",
    "number": "0x100",
    "gasLimit": "0x...",
    "gasUsed": "0x...",
    "timestamp": "0x...",
    "extraData": "0x...",
    "mixHash": "0x...",
    "nonce": "0x0000000000000000",
    "baseFeePerGas": "0x...",
    "hash": "0x..."
  }
}
TRY IT

Notes

  • This is equivalent to calling eth_getBlockByNumber with false for full transactions, but returns only the header fields without the transactions array or uncles array.
  • On PulseChain (proof-of-stake), difficulty is "0x0" and nonce is "0x0000000000000000".
  • This method is more efficient than fetching a full block when you only need header data.
Copyright © 2026 AvecdrA. Made with love.