Returns the receipt of a transaction by transaction hash.

Don’t have an API key?

Start using this API in your app today.

This can also be used to get general information about a transaction or to track the status of a transaction, since result will be null until the transaction is mined, however, using the Mined Transaction Webhook is a better option to track the status of a transaction. Unlike eth_getTransactionByHash, which returns null for unknown transactions, and a non-null response with 3 null fields for a pending transaction, eth_getTransactionReceipt returns null for both pending and unknown transactions.

This call can also be used to get the contract address for a contract creation tx. However, if you use tools like Hardhat to deploy the contracts, you can get the address of the newly created contract by using the Hardhat toolbox.

Use cases for eth_getTransactionReceipt


Note: the receipt is not available for pending transactions.


DATA, 32 Bytes - hash of a transaction

params: [ 
Click Try It! to start a request and see the response here!