eth_getTransactionReceipt RPC Method
To use the eth_getTransactionReceipt method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
hash
string
REQUIRED
The hash of a transaction
Returns
object
object
A transaction receipt object, or null when no receipt was found
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
contractAddress
string
The contract address created for contract creation, otherwise null
cumulativeGasUsed
string
The total gas used when this transaction was executed in the block
effectiveGasPrice
string
The total base charge plus tip paid for each unit of gas
from
string
The address of the sender
gasUsed
string
The amount of gas used by this specific transaction alone
logs
array
An array of log objects that generated this transaction
address
string
The address from which this log was generated
topics
array
An array of zero to four 32 Bytes DATA of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event (e.g. Deposit(address, bytes32, uint256)), except you declare the event with the anonymous specifier
data
string
The 32 byte non-indexed argument of the log
blockNumber
string
The block number where this log was in
transactionHash
string
The hash of the transaction from which this log was created from. null if the log is pending
transactionIndex
string
The transactions index position from which this log was created from. null if the log is pending
blockHash
string
The hash of the block where this log was in
logIndex
integer
The integer of log index position in the block encoded as hexadecimal. null if the log is pending
removed
boolean
It is true if log was removed, due to a chain reorganization and false if it's a valid log
logsBloom
string
The bloom filter which is used to retrive related logs
status
string
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
to
string
The address of the receiver. Null when its a contract creation transaction
transactionHash
string
The hash of the transaction
transactionIndex
string
The transactions index position in the block encoded as a hexadecimal
type
string
The type of value
Request
1curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getTransactionReceipt","params":["0x4ccfe86772a2af6036829bb7893d86d9822ab8dc187d7e58ef92309660a02c4d"],"id":1,"jsonrpc":"2.0"}'5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free