Parameters
Returns
- resultobject
The result object which contains the following fields:
- hashstring
The hash of the transaction
- blockobject
A block object, or null when no block was found
- baseFeePerGasstring
The integer of the difficulty for this block encoded as hexadecimal
- blobGasUsedstring
The amount of gas used by the blob
- difficultystring
The integer of the difficulty for this block encoded as hexadecimal
- excessBlobGasstring
The excess gas used by the blob
- extraDatastring
The extra data field of this block
- gasLimitstring
The maximum gas allowed in this block encoded as hexadecimal
- gasUsedstring
The total used gas by all transactions in this block encoded as hexadecimal
- hashstring
The block hash of the requested block. Null if pending
- logsBloomstring
The bloom filter for the logs of the block. Null if pending
- minerstring
The address of the beneficiary to whom the mining rewards were given
- mixHashstring
A string of a 256-bit hash encoded as hexadecimal
- noncestring
The hash of the generated proof-of-work. Null if pending
- numberstring
The block number of the requested block encoded as hexadecimal. Null if pending
- parentBeaconBlockRootstring
The root of the parent beacon block
- parentHashstring
The hash of the parent block
- receiptsRootstring
The root of the receipts trie of the block
- sha3Unclesstring
The SHA3 of the uncles data in the block
- sizestring
The size of this block in bytes as an Integer value encoded as hexadecimal
- stateRootstring
The root of the final state trie of the block
- timestampstring
The unix timestamp for when the block was collated
- transactionsobject
An array of transaction objects with the following fields:
- blockHashstring
The hash of the block where this log was in. Null when it's a pending log
- blockNumberstring
The block number where this log was in. Null when it's a pending log
- fromstring
The address of the sender
- gasstring
The gas provided by the sender, encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender before this one encoded as hexadecimal
- tostring
The address of the receiver. Null when it's a contract creation transaction
- transactionIndexstring
The integer of the transaction's index position that the log was created from. Null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- accessListarray
A list of addresses and storage keys that the transaction plans to access
- chainIdstring
The chain id of the transaction, if any
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
Coordinate of key used in signature
- transactionsRootstring
The root of the transaction trie of the block
- unclesarray
An array of uncle hashes
- withdrawalsarray
The withdrawals in a block
- indexstring
The index of the withdrawal to uniquely identify each withdrawal
- validatorIndexstring
The index of the validator who initiated the withdrawal
- addressstring
The address to which the withdrawn amount is sent
- amountstring
The amount of ether, provided in hexadecimal format, corresponding to a certain value in gwei
- withdrawalsRootstring
The Merkle root of withdrawal data. Also, please note that this field will not be included in a block requested before the EIP-4895 upgrade
- rlpstring
The RLP encoded header
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}