eth_getTransactionReceipt
POST/
Returns the receipt of a transaction by transaction hash.
Parameters:
hash
: the hash of a transaction.
Returns:
result
: a transaction object, ornull
when no transaction was found.blockHash
: the hash of the block where this transaction is in.blockNumber
: the block number where this transaction is in.contractAddress
: the contract address created, if the transaction was a contract creation, otherwisenull
.cumulativeGasUsed
: the total amount of gas used when this transaction was executed in the block.effectiveGasPrice
: the effective gas price of the transaction.from
: the address of the sender.gasUsed
: the amount of gas used by this specific transaction alone.logsBloom
: the bloom filter for light clients to quickly retrieve related logs.status
: either1
(success) or0
(failure).to
: the address of the receiver, ornull
when it's a contract creation transaction.transactionHash
: the hash of the transaction.transactionIndex
: the integer of the transactions index position in the block.type
: the type of the transaction.logs
: an array of log objects, which this transaction generated.
Example:
"params": [
"0xcf1911356099c562421c4ce7bc47707a39866094f9102cb891cf2cb0194d95d1"
]
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
id integer
jsonrpc string
method string
params string[]
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Loading...
Was this helpful?
Happy React is loading...