eth_getTransactionReceipt - Moonriver RPC Method
Get transaction receipt with status and logs on Moonriver. Essential for verifying transaction execution for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications.
Returns the receipt of a transaction by transaction hash on Moonriver. Receipt is only available for mined transactions.
Why Moonriver? Build on the Moonbeam canary network on Kusama for real-world testing of EVM dApps with Moonbeam code ships here first, full EVM compatibility on Kusama, 80% fee burn mechanism, and XCM cross-chain messaging.
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 production-grade dApp testing, early feature deployment, and Kusama-based EVM applications
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 Moonriver. Essential for dApp developers testing on Kusama, early adopters, and teams requiring production-ready experimentation tracking transactions on the Moonbeam canary network on Kusama for real-world testing of EVM dApps.
eth_estimateGas
Estimate gas required for transactions on Moonriver. Essential for optimizing transaction costs for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications.