Skip to main content

eth_getBlockReceipts RPC Method

Returns all transaction receipts for a given block.

Updated on
May 30, 2025
Please note that if the specified block has no transactions, the response will not contain any receipts. Ensure you're querying a block that includes transactions.

Parameters

blockNumber
string
REQUIRED

The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized

Returns

result
array | null

An array of transaction receipt objects. Returns null if the block is not found

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 | null

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

transactionHash
string

The hash of the transaction this log was created from

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

blockTimestamp
string

The timestamp of the block containing this log, encoded as a hexadecimal value

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

revertReason
string

(Optional) The Solidity revert reason, if any

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free