eth_getTransactionReceipt | Ronin

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.

Try the eth_getTransactionReceipt RPC method yourself

Language
Click Try It! to start a request and see the response here!