POST
/
3997273fc956a67dc6982384500e669e
curl --request POST \
  --url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getTransactionReceipt",
  "params": [
    "0x1e196c5fa958d3752b92a3178dd71e8050a0b4a72f528a72c3c12b09b5fc523a"
  ]
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": {}
}

Ronin API method that returns the receipt of a transaction by its hash. The transaction receipt includes details such as the status of the transaction (success or failure), the gas used, the contract address created (if the transaction was a contract creation), and any logs generated by the transaction.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • transactionHash — the hash of the transaction for which to retrieve the receipt.

Response

  • result — an object containing the transaction receipt information, including fields like transactionHash, transactionIndex, blockHash, blockNumber, from, to, cumulativeGasUsed, gasUsed, contractAddress, logs, and status.

Use case

The eth_getTransactionReceipt method is crucial for verifying the outcome of a transaction, especially for applications that execute transactions and need to confirm their success or failure. It is also used to obtain detailed execution results, such as event logs, which are essential for DApps to interpret the effects of transactions.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getTransactionReceipt
params
string[]

Response

200 - application/json
Receipt of the requested transaction
jsonrpc
string
id
integer
result
object