Parameters
- hashstringREQUIRED
The hash (32 bytes) of the block
- transaction detail flagbooleanREQUIRED
It returns the full transaction objects when it is true otherwise it returns only the hashes of the transactions
Returns
- resultobject
A block object, or null when no block was found
- baseFeePerGasstring
Base fee per gas for the block encoded as hexadecimal (EIP-1559 only)
- blobGasUsedstring
Total blob gas used by all transactions in the block encoded as hexadecimal
- difficultystring
Block difficulty encoded as hexadecimal
- excessBlobGasstring
Excess blob gas carried forward to this block encoded as hexadecimal
- extraDatastring
Extra data field of the block encoded as hexadecimal
- gasLimitstring
Maximum gas allowed in this block encoded as hexadecimal
- gasUsedstring
Total gas used by all transactions in this block encoded as hexadecimal
- hashstring
Block hash of the requested block or null if pending
- logsBloomstring
Bloom filter for the logs of the block encoded as hexadecimal or null if pending
- minerstring
Address of the beneficiary to whom block rewards were given
- mixHashstring
Mix digest used to prove block validity
- noncestring
Proof-of-work nonce or null if pending
- numberstring
Block number encoded as hexadecimal or null if pending
- parentBeaconBlockRootstring
Root hash of the parent beacon block
- parentHashstring
Hash of the parent block
- receiptsRootstring
Root of the receipts trie for the block
- requestsHashstring
Root hash of execution layer requests included in the block
- sha3Unclesstring
SHA3 hash of the uncles data in the block
- sizestring
Size of the block in bytes encoded as hexadecimal
- stateRootstring
Root hash of the final state trie for the block
- timestampstring
Unix timestamp when the block was produced encoded as hexadecimal
- transactionsarray
Array of transaction objects or transaction hashes
- transactionsRootstring
Root of the transaction trie for the block
- unclesarray
Array of uncle block hashes
- withdrawalsarray
Array of withdrawal objects included in the block
- withdrawalsRootstring
Root hash of the withdrawals list for the block