Parameters
The block number in hexadecimal format
Returns
The information about the specified block:
A string of the base fee encoded as hexadecimal
The integer of the difficulty for this block encoded as hexadecimal
The extra data field of this block
The maximum gas allowed in this block encoded as hexadecimal
The total used gas by all transactions in this block encoded as hexadecimal
The block hash of the requested block. Null when it's pending block
The bloom filter for the logs of the block. Null when it's a pending block
The address of the beneficiary to whom the mining rewards were given
A string of a 256-bit hash encoded as hexadecimal
The hash of the generated proof-of-work. Null when it's a pending block
The block number of the requested block, encoded as hexadecimal. Null when it's a pending block
The hash of the parent block
The root of the receipts trie of the block
The SHA3 of the uncles data in the block
The size of this block in bytes as an Integer value encoded as hexadecimal
The root of the final state trie of the block
The UNIX timestamp for when the block was collated
The integer of the total difficulty of the chain until this block encoded as hexadecimal
An array of transaction objects:
The block hash of the requested block
The block number of the requested block, encoded as hexadecimal
The address of the sender
The gas provided by the sender, encoded as hexadecimal
The gas price provided by the sender in Wei, encoded as hexadecimal
The hash of the transaction
The data sent along with the transaction
The number of transactions made by the sender prior to this one encoded as hexadecimal
The address of the receiver. Null when it's a contract creation
The integer of the transactions index position in the block. Null if pending
The value transferred in Wei, encoded as hexadecimal
The transaction type
The ECDSA recovery id encoded as hexadecimal
The ECDSA signature r
The ECDSA signature s
The maximum fee per gas set in the transaction
The maximum priority gas fee set in the transaction
An array of legacy transaction objects
The chain id of the transaction
The root of the transaction trie of the block
An array of uncle hashes
An array of transaction receipt objects for the specified block
The hash of the block. Null when it's a pending
The block number
The contract address created if the transaction was a contract creation, otherwise null
The total amount of gas used when this transaction was executed in the block
The actual value per gas deducted from the senders account
The address of the sender
The amount of gas used by this specific transaction alone
An array of log objects generated by this transaction:
The address from which this log originated
An array of zero to four 32 Bytes data of indexed log arguments. In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)), except you declare the event with the anonymous specifier
It contains one or more 32 Bytes non-indexed arguments of the
The block number where this log was in. Null when it's a pending
The hash of the transactions this log was created from. Null when it's a pending
The integer of the transaction's index position that the log was created from. Null when it's a pending
The hash of the block where this log was in. Null when it's a pending
The integer of the log index position in the block. Null when it's a pending
True when the log was removed, due to a chain reorganization. False if it's a valid
The bloom filter for light clients to quickly retrieve related
Either 1 (success) or 0 (failure)
The address of the receiver. Null when it's a contract creation
The hash of the transaction
The index of the transaction in the block
The receipt type