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 containing this transaction
blockNumber
string
The block number containing this transaction in hexadecimal
from
string
The address of the sender
to
string
The address of the receiver. null when its a contract creation transaction
cumulativeGasUsed
string
The total amount of gas used when this transaction was executed in the block in hexadecimal
gasUsed
string
The amount of gas used by this specific transaction alone in hexadecimal
contractAddress
string
The contract address - may be the same as the 'to' address for contract interactions or the newly created contract address for contract creations
logs
array
Array of log objects that were generated during the transaction
address
string
The address from which this log originated
topics
array
Array of 0 to 4 32-byte topics (encoded event parameters)
data
string
Contains the non-indexed arguments of the log
blockNumber
string
The block number where this log was in hexadecimal, null when pending
transactionHash
string
The hash of the transaction this log was created from, null when pending
transactionIndex
string
The index position of the transaction in the block in hexadecimal
blockHash
string
The hash of the block where this log was in, null when pending
logIndex
string
The index position of the log in the block in hexadecimal
removed
boolean
True when the log was removed due to a chain reorganization, false if valid
logsBloom
string
A bloom filter of logs/events generated during this transaction
transactionHash
string
The hash of the transaction
transactionIndex
string
The transaction's index position in the block in hexadecimal
effectiveGasPrice
string
The actual value per gas deducted from the sender account in hexadecimal
root
string
The post-transaction state root (pre Byzantium)
status
string
The transaction status: 0x1 for success or 0x0 for failure
type
string
The transaction type in hexadecimal (e.g., 0x0 for legacy transactions, 0x2 for EIP-1559)
error
string
Error message if the transaction failed, e.g., 'revert'. Only present for failed transactions
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free