Parameters
- blockHashstringREQUIRED
The hash of the block whose header is requested. Use a hash from a recent block; older hashes may fail.
Returns
- resultobject
The block header, or null if the block is not found
- hashstring
The block hash of the requested block, null if pending
- parentHashstring
The hash of the parent block
- sha3Unclesstring
The SHA3 of the uncles data in the block
- minerstring
The address of the beneficiary to whom the mining rewards were given
- stateRootstring
The root of the final state trie of the block
- transactionsRootstring
The root of the transaction trie of the block
- receiptsRootstring
The root of the receipts trie of the block
- logsBloomstring
The bloom filter for the logs of the block, null if pending
- difficultystring
The integer of the difficulty for the block encoded as a hexadecimal
- numberstring
The block number of the requested block encoded as a hexadecimal, null if pending
- 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
- timestampstring
The unix timestamp for when the block was collated
- extraDatastring
The extra data field of the block
- mixHashstring
A string of a 256-bit hash encoded as a hexadecimal
- noncestring
The hash of the generated proof-of-work, null if pending
- baseFeePerGasstring
A string of the base fee encoded in hexadecimal format, not included for blocks before EIP-1559
- withdrawalsRootstring
The root hash of the block's withdrawals trie.
- blobGasUsedstring
The total blob gas consumed by transactions in the block, encoded as a hexadecimal quantity.
- excessBlobGasstring
The excess blob gas carried over from prior blocks, encoded as a hexadecimal quantity.
- parentBeaconBlockRootstring
The parent beacon block root associated with this execution block.
- requestsHashstring
The hash of the execution requests included in this block.
- dependencyHeightstring
The height of the dependency block referenced by this Zero block, encoded as a hexadecimal quantity.
- dependencyRootstring
The root hash of the dependency data referenced by this Zero block.
- parentStateRootstring
The state root of the parent block, before this block's transactions are applied.
- sizestring
The encoded size of the block in bytes, represented as a hexadecimal quantity.
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xb0b8389cc492175c7ea2bd9c9e35554b0290d76701c396a6271e5d1ea2e2f595",6"parentHash": "0x17b486732bf89c7e17e7577b066d6ca989cd08b94e23452ff809e84d4e78b1df",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x7c3882f1fdbe2a7749242da42366eaab2c291c442dd95b33c68720cbc3a14e1a",10"transactionsRoot": "0x81a8a3b68eec482c54d68abfbf8111852b9107226ad65f1c0f0f9142717b5256",11"receiptsRoot": "0x6d5ebe2d7d3af2a05aff14638e74807f146de37f1de18d461b23c58f52f2d1ae",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"difficulty": "0x0",14"number": "0x5526",15"gasLimit": "0x77359400",16"gasUsed": "0x947d",17"timestamp": "0x6b09ad34",18"extraData": "0x",19"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",20"nonce": "0x0000000000000000",21"baseFeePerGas": "0xdb58580",22"withdrawalsRoot": "0x61698e04867f7040ff0eb975461e3cb43ce69bdfd2c303056acb7b8533f760ff",23"blobGasUsed": "0x0",24"excessBlobGas": "0x0",25"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",26"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",27"dependencyHeight": "0xb26f",28"dependencyRoot": "0x1fa657314d6aa1fd8da66be0392312e1f5721b57a4293fa89a8713d637f356fe",29"parentStateRoot": "0xd311d83cabe87482ae85ee4381c4f0bff790e417e08039dd99c81c6705c10abe",30"size": "0x3e7"31}32}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xb0b8389cc492175c7ea2bd9c9e35554b0290d76701c396a6271e5d1ea2e2f595",6"parentHash": "0x17b486732bf89c7e17e7577b066d6ca989cd08b94e23452ff809e84d4e78b1df",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x7c3882f1fdbe2a7749242da42366eaab2c291c442dd95b33c68720cbc3a14e1a",10"transactionsRoot": "0x81a8a3b68eec482c54d68abfbf8111852b9107226ad65f1c0f0f9142717b5256",11"receiptsRoot": "0x6d5ebe2d7d3af2a05aff14638e74807f146de37f1de18d461b23c58f52f2d1ae",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"difficulty": "0x0",14"number": "0x5526",15"gasLimit": "0x77359400",16"gasUsed": "0x947d",17"timestamp": "0x6b09ad34",18"extraData": "0x",19"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",20"nonce": "0x0000000000000000",21"baseFeePerGas": "0xdb58580",22"withdrawalsRoot": "0x61698e04867f7040ff0eb975461e3cb43ce69bdfd2c303056acb7b8533f760ff",23"blobGasUsed": "0x0",24"excessBlobGas": "0x0",25"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",26"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",27"dependencyHeight": "0xb26f",28"dependencyRoot": "0x1fa657314d6aa1fd8da66be0392312e1f5721b57a4293fa89a8713d637f356fe",29"parentStateRoot": "0xd311d83cabe87482ae85ee4381c4f0bff790e417e08039dd99c81c6705c10abe",30"size": "0x3e7"31}32}