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
object
object
A transaction receipt object, or null when no receipt was found
type
string
The type of transaction
status
string
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
cumulativeGasUsed
string
The total gas used when this transaction was executed in the block
logs
array
An array of log objects generated by this transaction
address
string
The address from which this log was generated
topics
array
An array of 0 to 4 indexed log topics. The first is usually the event signature hash
data
string
The data (non-indexed arguments) of the log
blockHash
string
The hash of the block where this log was in
blockNumber
string
The block number where this log was in
blockTimestamp
string
The timestamp of the block where this log was included
transactionHash
string
The hash of the transaction that generated this log
transactionIndex
string
The index position of the transaction within the block
logIndex
string
The index position of the log within the block
removed
boolean
True if the log was removed due to a chain reorganization
logsBloom
string
The bloom filter for light clients to quickly retrieve related logs
transactionHash
string
The hash of the transaction
transactionIndex
string
The index position of the transaction within the block
blockHash
string
The hash of the block where this transaction was in
blockNumber
string
The block number where this transaction was added encoded as a hexadecimal
gasUsed
string
The amount of gas used by this specific transaction alone
effectiveGasPrice
string
The actual gas price paid (base fee + tip)
from
string
The address of the sender
to
string
The address of the receiver. Null when it’s a contract creation transaction
contractAddress
string
The contract address created, if the transaction was a contract creation. Null otherwise
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free