eth_getBlockReceipts RPC Method
Parameters
blockNumber
string
REQUIRED
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized (safe and finalized tags are only supported on Ethereum, Gnosis, Arbitrum and Arbitrum Nova), see the default block parameter description in the official Ethereum documentation
Returns
result
array
An array of objects
blockHash
string
The hash of the block. null when pending
blockNumber
string
The block number
contractAddress
string
The contract address created if the transaction was a contract creation, otherwise null
cumulativeGasUsed
string
The total amount of gas used when this transaction was executed in the block
depositNonce
string
The nonce of the deposit transaction (only present for deposit transactions)
depositReceiptVersion
string
The version of the deposit receipt format (only present for deposit transactions)
effectiveGasPrice
string
The actual value per gas deducted from the sender account
from
string
The address of the sender
gasUsed
string
The amount of gas used by this specific transaction alone
l1Fee
string
The total fee paid for L1 data and execution (only present for L2 transactions)
l1GasPrice
string
The gas price on L1 at the time of the transaction (only present for L2 transactions)
l1GasUsed
string
The amount of gas used on L1 for this transaction (only present for L2 transactions)
logs
array
An array of log objects that generated this transaction
address
string
An address from which this log originated
topics
array
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
It contains one or more 32 Bytes non-indexed arguments of the log
blockNumber
string
The block number where this log was in. null when its a pending log
transactionHash
string
The hash of the transactions this log was created from. null when its a pending log
transactionIndex
string
The index position of the transaction in the block
blockHash
string
The hash of the block where this log was in. null when its a pending log
logIndex
string
The index position of the log in the block
removed
boolean
It is 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
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
to
string
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
The transaction type (e.g., 0x2 for EIP-1559, 0x7e for deposit transactions)
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free