eth_getBlockReceipts
Returns information about a block by block number.
This method will use 550
Compute Units.
Parameters
blockReference
- string.
The block number or block hash in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, and finalized for the most recent secure block accepted by more than 2/3 of validators
Returns
data
: Array
of objects
blockHash
:string
- the hash of the block. null when pendingblockNumber
:string
- the block numbercontractAddress
:string
(optional) - the contract address created, if the transaction was a contract creation, otherwise null.cumulativeGasUsed
:string
- the sum of gas used by this transaction and all preceding transactions in the same block.effectiveGasPrice
:string
- the actual value per gas deducted from the sender accountdepositReceiptVersion
:string
- the version of a deposit receiptdepositNonce
:string
- the deposit nonce associated with a particular addressfrom
:string
- the address of the sendergasUsed
:string
- the amount of gas used by this specific transaction alonelogs
:array
objectstransactionHash
:string
- the hash of the transactions this log was created from. null when its a pending logaddress
:string
(optional) - an address from which this log originatedtopics
:array
(optional) - 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.data
:string
(optional) - contains one or more 32 Bytes non-indexed arguments of the logblockNumber
:string
(optional) - the block number where this log was in. null when its a pending logtransactionIndex
:string
(optional) - the integer of the transaction's index position that the log was created from. null when it's a pending logblockHash
:string
(optional) - the hash of the block where this log was in. null when its a pending loglogIndex
:string
(optional) - the integer of the log index position in the block. null when its a pending logremoved
:boolean
(optional) - true when the log was removed due to a chain reorganization, and false if it's a valid log
logsBloom
:string
- the bloom filter for light clients to quickly retrieve related logsstatus
:string
(optional) - it is either 1 (success) or 0 (failure) encoded as a hexadecimalto
:string
(optional) - the address of the receiver. null when it's a contract creation transactiontransactionHash
:string
- the hash of the transactiontransactionIndex
:string
- an index of the transaction in the blocktype
:string
(optional) - the value type
Last updated
Was this helpful?