eth_getBlockReceipts RPC Method
Parameters
blockNumber
string
REQUIRED
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized
Returns
result
array
An array of transaction receipt 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
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
l1BatchNumber
string
The batch number on Layer 1 where this transaction was included
l1BatchTxIndex
string
The index of this transaction within its Layer 1 batch
l2ToL1Logs
array
Array of logs sent from Layer 2 to Layer 1
logs
array
Array of log objects generated by this transaction
address
string
Address from which this log originated
topics
array
Array of zero to four 32 Bytes DATA of indexed log arguments
data
string
Contains one or more 32 Bytes non-indexed arguments of the log
blockNumber
string
Block number where this log was in
blockHash
string
Hash of the block where this log was in
transactionHash
string
Hash of the transaction this log was created from
transactionIndex
string
Transaction's index position in the block
logIndex
string
Log's index position in the block
transactionLogIndex
string
Log's index position in the transaction
logType
string
Type of the log
removed
boolean
True when the log was removed due to chain reorganization, false if valid
blockTimestamp
string
Timestamp of the block containing this log
l1BatchNumber
string
The batch number on Layer 1 containing this log
logsBloom
string
Bloom filter for light clients to quickly retrieve related logs
status
string
Either 1 (success) or 0 (failure) encoded as 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
Index of the transaction in the block
type
string
The transaction type
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free