Parameters
The hash (32 bytes) of the block
It returns the full transaction objects when it is true otherwise it returns only the hashes of the transactions
Returns
A block object, or null when no block was found
Base fee per gas for the block encoded as hexadecimal (EIP-1559 only)
Block difficulty encoded as hexadecimal
Extra data field of the block encoded as hexadecimal
Maximum gas allowed in this block encoded as hexadecimal
Total gas used by all transactions in this block encoded as hexadecimal
Block hash of the requested block or null if pending
Bloom filter for the logs of the block encoded as hexadecimal or null if pending
Address of the beneficiary to whom block rewards were given
Mix digest used to prove block validity
Proof-of-work nonce or null if pending
Block number encoded as hexadecimal or null if pending
Hash of the parent block
Root of the receipts trie for the block
SHA3 hash of the uncles data in the block
Size of the block in bytes encoded as hexadecimal
Root hash of the final state trie for the block
Unix timestamp when the block was produced encoded as hexadecimal
Total difficulty of the chain up to this block encoded as hexadecimal
Array of transaction objects or transaction hashes
Root of the transaction trie for the block
Array of uncle block hashes