Docs

eth_getTransactionReceipt - Ethereum RPC Method

Get transaction receipt with status and logs on Ethereum. Essential for verifying transaction execution for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps.

Returns the receipt of a transaction by transaction hash on Ethereum. Receipt is only available for mined transactions.

Why Ethereum? Build on the world's leading smart contract platform with the largest developer ecosystem with battle-tested security, institutional adoption, and unmatched ecosystem with $166B+ TVL.

Use Cases

The eth_getTransactionReceipt method is essential for:

  • Transaction confirmation - Verify transaction was mined successfully
  • Gas analysis - Check actual gas used vs estimated
  • Event parsing - Read emitted events from logs
  • Status verification - Confirm success/failure for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash

Note: Returns null if transaction is not yet mined.