eth_getBlockReceipts
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns information about a block by block number.
This method will use 40
.
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
data
: Array
of objects
blockHash
: string
- the hash of the block. null when pending
blockNumber
: string
- the block number
contractAddress
: 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 account
depositReceiptVersion
: string
- the version of a deposit receipt
depositNonce
: string
- the deposit nonce associated with a particular address
from
: string
- the address of the sender
gasUsed
: string
- the amount of gas used by this specific transaction alone
logs
: array
objects
transactionHash
: string
- the hash of the transactions this log was created from. null when its a pending log
address
: string
(optional) - an address from which this log originated
topics
: 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 log
blockNumber
: string
(optional) - the block number where this log was in. null when its a pending log
transactionIndex
: string
(optional) - the integer of the transaction's index position that the log was created from. null when it's a pending log
blockHash
: string
(optional) - the hash of the block where this log was in. null when its a pending log
logIndex
: string
(optional) - the integer of the log index position in the block. null when its a pending log
removed
: 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 logs
status
: string
(optional) - it is either 1 (success) or 0 (failure) encoded as a hexadecimal
to
: string
(optional) - the address of the receiver. null when it's a contract creation transaction
transactionHash
: string
- the hash of the transaction
transactionIndex
: string
- an index of the transaction in the block
type
: string
(optional) - the value type