EVM RPC API
eth_getTransactionReceipt
Returns the receipt of a transaction given the transaction’s hash.
Parameters
DATA
, 32 Bytes - hash of a transaction
Returns
Object
- An object of type TransactionReceipt or null when no receipt was foundtransactionHash
:DATA
, 32 Bytes - hash of the transactiontransactionIndex
:QUANTITY
- Integer of the transactions index position in the blockblockHash
:DATA
, 32 Bytes - hash of the block where this transaction was inblockNumber
:QUANTITY
- block number where this transaction was incumulativeGasUsed
:QUANTITY
- The total amount of gas used when this transaction was executed in the blockgasUsed
:QUANTITY
- The amount of gas used by this specific transaction alonecontractAddress
:DATA
, 20 Bytes - The contract address created, if the transaction was a contract creation, null otherwiselogs
:Array
- Array of log objects, which this transaction generatedlogsBloom
:DATA
, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.root
:DATA
32 bytes - post-transaction stateroot (if the block is pre-Byzantium)status
:QUANTITY
- either 1 = success or 0 = failure (if block is Byzatnium or later)
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_getTransactionReceiptrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
object
required