Parameters
- blockHashstringREQUIRED
The hash of the block whose header is requested
Returns
- resultobject
The block header, or null if the block is not found
- baseFeePerGasstring
A string of the base fee encoded in hexadecimal format, not included for blocks before EIP-1559
- difficultystring
The integer of the difficulty for the block encoded as a hexadecimal
- extraDatastring
The extra data field of the block
- gasLimitstring
The maximum gas allowed in the block encoded as a hexadecimal
- gasUsedstring
The total used gas by all transactions in the block encoded as a hexadecimal
- hashstring
The block hash of the requested block, null if pending
- l1BlockNumberstring
Parent chain block number encoded as hexadecimal
- logsBloomstring
The bloom filter for the logs of the block, null if pending
- minerstring
The address of the beneficiary to whom the mining rewards were given
- mixHashstring
A string of a 256-bit hash encoded as a hexadecimal
- noncestring
The hash of the generated proof-of-work, null if pending
- numberstring
The block number of the requested block encoded as a hexadecimal, null if pending
- parentHashstring
The hash of the parent block
- receiptsRootstring
The root of the receipts trie of the block
- sendCountstring
The send count
- sendRootstring
The send root hash
- sha3Unclesstring
The SHA3 of the uncles data in the block
- stateRootstring
The root of the final state trie of the block
- timestampstring
The unix timestamp for when the block was collated
- transactionsRootstring
The root of the transaction trie of the block
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",8"gasLimit": "0x4000000000000",9"gasUsed": "0x7fb1",10"hash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",11"l1BlockNumber": "0x3038633",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x00000000000006c40000000003038633000000000000003d0001000000000000",15"nonce": "0x0000000000166bf2",16"number": "0x181f92",17"parentHash": "0x03368aed4e26cd9ef8289034029fe53477c834d27ad229c36598a7338edafbd2",18"receiptsRoot": "0x0e765d628cf5940c92e895609f379f540760f5ee5c8df219f431a8cb8ab2badb",19"sendCount": "0x6c4",20"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"stateRoot": "0x2b8c93e633154e0482b9f50dc69e5c8643c36f9ea3b7495e0f9ed3a7e3ead575",23"timestamp": "0x6aee1f6c",24"transactionsRoot": "0xe5d780878e1d3d2130a4125dabd2648de8f697d32bab3d71bc2e65b23fb50cca"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",8"gasLimit": "0x4000000000000",9"gasUsed": "0x7fb1",10"hash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",11"l1BlockNumber": "0x3038633",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x00000000000006c40000000003038633000000000000003d0001000000000000",15"nonce": "0x0000000000166bf2",16"number": "0x181f92",17"parentHash": "0x03368aed4e26cd9ef8289034029fe53477c834d27ad229c36598a7338edafbd2",18"receiptsRoot": "0x0e765d628cf5940c92e895609f379f540760f5ee5c8df219f431a8cb8ab2badb",19"sendCount": "0x6c4",20"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"stateRoot": "0x2b8c93e633154e0482b9f50dc69e5c8643c36f9ea3b7495e0f9ed3a7e3ead575",23"timestamp": "0x6aee1f6c",24"transactionsRoot": "0xe5d780878e1d3d2130a4125dabd2648de8f697d32bab3d71bc2e65b23fb50cca"25}26}