Parameters
- blockNumberstringREQUIRED
A hexadecimal block number or block tag such as latest, safe, or finalized
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": "0x611f480",6"difficulty": "0x1",7"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",8"gasLimit": "0x4000000000000",9"gasUsed": "0x2844d",10"hash": "0x0723face07b341540af732eb541b5891a55d312e76c5c9fb151af8a895f5fa93",11"l1BlockNumber": "0x3038646",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa79c9b7343bc3c5b8b918e113f67d5bff7453f5b",14"mixHash": "0x00000000000006c40000000003038646000000000000003d0000000000000000",15"nonce": "0x0000000000166c8f",16"number": "0x182042",17"parentHash": "0xd4a3ffd8f2f0a12ddcde4de3b05f0583791e7124e1e2b68c3956e6b48a6c5483",18"receiptsRoot": "0xb998f6498171a321e341f09e984abeafb0cf405defb59712d21caca88feff5c6",19"sendCount": "0x6c4",20"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"stateRoot": "0x1989753eada5920d88e5219d99ca6192e9f2e2b2a683580151d7998497006be3",23"timestamp": "0x6aee1f77",24"transactionsRoot": "0x3426fe1af7a46dfc9526226287242d8e80b4476a1ef6d37431c3369a0a31d558"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x611f480",6"difficulty": "0x1",7"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",8"gasLimit": "0x4000000000000",9"gasUsed": "0x2844d",10"hash": "0x0723face07b341540af732eb541b5891a55d312e76c5c9fb151af8a895f5fa93",11"l1BlockNumber": "0x3038646",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa79c9b7343bc3c5b8b918e113f67d5bff7453f5b",14"mixHash": "0x00000000000006c40000000003038646000000000000003d0000000000000000",15"nonce": "0x0000000000166c8f",16"number": "0x182042",17"parentHash": "0xd4a3ffd8f2f0a12ddcde4de3b05f0583791e7124e1e2b68c3956e6b48a6c5483",18"receiptsRoot": "0xb998f6498171a321e341f09e984abeafb0cf405defb59712d21caca88feff5c6",19"sendCount": "0x6c4",20"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"stateRoot": "0x1989753eada5920d88e5219d99ca6192e9f2e2b2a683580151d7998497006be3",23"timestamp": "0x6aee1f77",24"transactionsRoot": "0x3426fe1af7a46dfc9526226287242d8e80b4476a1ef6d37431c3369a0a31d558"25}26}