Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
Jul 15, 2025

eth_getTransactionReceipt RPC Method

Please note that transaction receipts are not available for pending transactions.

Parameters

hash
string
REQUIRED
The hash of a transaction

Returns

result
object
The transaction receipt object
type
string
The transaction type
status
string
Transaction execution status: 1 for success, 0 for failure (hex encoded)
cumulativeGasUsed
string
Total gas used in the block up to and including this transaction
logs
array
An array of log objects generated by this transaction
address
string
The address from which this log originated
topics
array
Array of 0 to 4 32-byte DATA of indexed log arguments
data
string
Contains one or more 32-byte non-indexed arguments of the log
blockNumber
string
The block number where this log was in. null when it's a pending log
transactionHash
string
The hash of the transaction this log was created from
transactionIndex
string
Index position of the transaction that generated the log
blockHash
string
Hash of the block where this log was in. null when pending
logIndex
string
Index position of the log in the block
removed
boolean
True if the log was removed due to a chain reorganization
logsBloom
string
Bloom filter for light clients to quickly retrieve related logs
transactionHash
string
The hash of the transaction
transactionIndex
string
Index position of the transaction within the block
blockHash
string
The hash of the block containing this transaction
blockNumber
string
The block number containing this transaction, in hexadecimal
gasUsed
string
Gas used by this specific transaction alone
effectiveGasPrice
string
Actual gas price paid post base fee and priority fee calculation
from
string
The address of the sender
to
string
The address of the receiver. null if it's a contract creation transaction
contractAddress
string
Contract address created by the transaction, or null if not a contract creation
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free