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
- 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": "0x418803580e85e9ac26c2fa477e06347a4c48fee7fa0f89162af9b3b5a0b794c0",6"parentHash": "0x77fc3657fcd4c79b30da388ad1129b63c0c80212503adc10781bab1ab4dc5392",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x07d01b4fa402458a2f1311f54adeb5c4c4089d6722f3e56aadf2a69320a81755",10"transactionsRoot": "0xf5e796de3a5c3fc106d508aa55c5a6b8b22dc57b3915b739cd84b1332148dc36",11"receiptsRoot": "0x0910037a6acd6329f3a3ac17681cc506ed01ad059579808cdd04c7999b78a345",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"difficulty": "0x0",14"number": "0x7209",15"gasLimit": "0x77359400",16"gasUsed": "0x128fa",17"timestamp": "0x6b0cf42b",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": "0x723ff",28"dependencyRoot": "0x35446407f9f9f2dfadde121e2e0e71ab3dde1b066ef561d056a761bef8713492",29"parentStateRoot": "0x35bf4fad9d4f30a6a35a4061f011be345925f0a9a4d3a456c84671b79fe8c837",30"size": "0x51a"31}32}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0x418803580e85e9ac26c2fa477e06347a4c48fee7fa0f89162af9b3b5a0b794c0",6"parentHash": "0x77fc3657fcd4c79b30da388ad1129b63c0c80212503adc10781bab1ab4dc5392",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x07d01b4fa402458a2f1311f54adeb5c4c4089d6722f3e56aadf2a69320a81755",10"transactionsRoot": "0xf5e796de3a5c3fc106d508aa55c5a6b8b22dc57b3915b739cd84b1332148dc36",11"receiptsRoot": "0x0910037a6acd6329f3a3ac17681cc506ed01ad059579808cdd04c7999b78a345",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"difficulty": "0x0",14"number": "0x7209",15"gasLimit": "0x77359400",16"gasUsed": "0x128fa",17"timestamp": "0x6b0cf42b",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": "0x723ff",28"dependencyRoot": "0x35446407f9f9f2dfadde121e2e0e71ab3dde1b066ef561d056a761bef8713492",29"parentStateRoot": "0x35bf4fad9d4f30a6a35a4061f011be345925f0a9a4d3a456c84671b79fe8c837",30"size": "0x51a"31}32}