eth_getTransactionReceipt RPC Method
Parameters
hash
string
REQUIRED
The hash of a transaction
Returns
result
array
An array of transaction receipt objects
type
string
The transaction type
status
string
Either 1 (success) or 0 (failure) encoded as hexadecimal
cumulativeGasUsed
string
The total amount of 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 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 its a pending log
transactionHash
string
The hash of the transactions this log was created from
transactionIndex
string
Integer of the transaction's index position log was created from
blockHash
string
Hash of the block where this log was in. null when pending
logIndex
string
Integer of the log index position in the block
removed
boolean
True when 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 of the transaction in the block
blockHash
string
The hash of the block. null when pending
blockNumber
string
The block number in hexadecimal
gasUsed
string
The amount of gas used by this specific transaction alone
effectiveGasPrice
string
The actual value per gas deducted from the sender's account
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, otherwise null
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free