eth_getTransactionReceipt - Ethereum

Returns the receipt of a transaction by transaction hash.

Don’t have an API key?

Start using this API in your app today.

Use cases for eth_getTransactionReceipt

  • Retrieve general information about a transaction: This can also be used to get general information about a transaction or to track the status of a transaction since the result will be null until the transaction is mined. However, using the Mined Transaction Webhook is a better option for tracking the status of a transaction. Unlike eth_getTransactionByHash, which returns null for unknown transactions, and a non-null response with three (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.

🚧

Note

The receipt is not available for pending transactions.

Parameters

DATA, 32 Bytes - hash of a transaction

params: [ 
    '0xab059a62e22e230fe0f56d8555340a29b2e9532360368f810595453f6fdd213b' 
]
Language
URL
Click Try It! to start a request and see the response here!
ReadMe