Parameters
Use the pending tag to retrieve the latest Flashblock
The method returns the full transaction objects when this value is true otherwise, it returns only the hashes of the transactions
Returns
A block object, or null when no block was found. The block object contains the following fields:
The block hash of the requested block. null if pending
The hash of the parent block
The parent beacon block root for this block.
The SHA3 of the uncles data in the block
The address of the beneficiary to whom the mining rewards were given
The root of the final state trie of the block
The root of the transaction trie of the block
The root of the receipts trie of the block
The hash of the execution requests for this block.
The bloom filter for the logs of the block. null if pending
The integer of the difficulty for this block encoded as a hexadecimal
The block number of the requested block encoded as hexadecimal. null if pending
The maximum gas allowed in this block encoded as a hexadecimal
The total used gas by all transactions in this block encoded as a hexadecimal
The UNIX timestamp for when the block was collated
The “extra data” field of this block
A string of a 256-bit hash encoded as a hexadecimal
The hash of the generated proof-of-work. null if pending
(Optional) A string of the base fee encoded in hexadecimal format. This field is omitted for blocks before the EIP-1559 upgrade
The root hash of the withdrawals data for the block
An array of withdrawal objects for this block.
The amount of blob gas used in the block (EIP-4844)
The excess blob gas carried over from the previous block (EIP-4844)
An array of uncle hashes
An array of transaction objects or transaction hashes
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x32",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x1c9c380",9"gasUsed": "0xb741",10"hash": "0x8125d2cdb126d1eb9c40bd3a3a1c00633d5698c0af4dfa90ef2ad32ba81b6f52",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0x4200000000000000000000000000000000000011",13"mixHash": "0x0cd96a684fdaa2d0b9baf184419526ad720e701bae1855f34b7d535b1f65f9f5",14"nonce": "0x0000000000000000",15"number": "0x5f4e6",16"parentHash": "0xd3014621a2c99724341184e6c32fe641d54b174353cd2bc8c83a0372171f0ef0",17"receiptsRoot": "0x3f71ebd8822765e8146170b0f930f55f753dbb867f55e4e605894016cd32f1e2",18"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",19"size": "0x365",20"stateRoot": "0x3151cd56c2daaa3adb8f61bc91071dbe245ee5082da3c158f9326d21f929d0df",21"timestamp": "0x649646af",22"transactions": [23"0x2d3750f7944818e1a4e6b897b6f6ea4d975fcf46720990eb4eda0c00d926a8fd"24],25"transactionsRoot": "0xde72c21eee913cab906890d872c55c8a37845fb6a593760936e8a5204667f9a3",26"uncles": []27}28}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x32",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x1c9c380",9"gasUsed": "0xb741",10"hash": "0x8125d2cdb126d1eb9c40bd3a3a1c00633d5698c0af4dfa90ef2ad32ba81b6f52",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0x4200000000000000000000000000000000000011",13"mixHash": "0x0cd96a684fdaa2d0b9baf184419526ad720e701bae1855f34b7d535b1f65f9f5",14"nonce": "0x0000000000000000",15"number": "0x5f4e6",16"parentHash": "0xd3014621a2c99724341184e6c32fe641d54b174353cd2bc8c83a0372171f0ef0",17"receiptsRoot": "0x3f71ebd8822765e8146170b0f930f55f753dbb867f55e4e605894016cd32f1e2",18"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",19"size": "0x365",20"stateRoot": "0x3151cd56c2daaa3adb8f61bc91071dbe245ee5082da3c158f9326d21f929d0df",21"timestamp": "0x649646af",22"transactions": [23"0x2d3750f7944818e1a4e6b897b6f6ea4d975fcf46720990eb4eda0c00d926a8fd"24],25"transactionsRoot": "0xde72c21eee913cab906890d872c55c8a37845fb6a593760936e8a5204667f9a3",26"uncles": []27}28}