eth_getTransactionReceipt - TRON RPC Method
Get transaction receipt with status and logs on TRON. Essential for verifying transaction execution for TRC-20 transfers, wallet operations, and EVM-compatible smart contract integrations.
Returns the receipt of a transaction by transaction hash on TRON. Receipt is only available for mined transactions.
Why TRON? Build on the TVM-compatible Layer 1 for TRC-20 payments, wallet APIs, and low-cost smart contract execution with TVM compatibility paired with native TRON wallet APIs, DPoS block production, and low-cost transaction flows.
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 TRC-20 transfers, wallet operations, and EVM-compatible smart contract integrations
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash |
Note: Returns null if transaction is not yet mined.
Related Methods
eth_getTransactionByHash- Get transaction detailseth_getLogs- Query logs by filter
eth_getTransactionByHash
Retrieve transaction details by hash on TRON. Essential for TRON developers building payment rails, exchanges, and consumer crypto applications tracking transactions on the TVM-compatible Layer 1 for TRC-20 payments, wallet APIs, and low-cost smart contract execution.
eth_estimateGas
Estimate gas required for transactions on TRON. Essential for optimizing transaction costs for TRC-20 transfers, wallet operations, and EVM-compatible smart contract integrations.