eth_getTransactionByHash - Moonriver RPC Method
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.
Returns the information about a transaction by transaction hash on Moonriver.
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_getTransactionByHash method is essential for:
- Transaction tracking - Get details of pending or confirmed transactions
- Payment verification - Verify transaction parameters
- Debugging - Analyze transaction data for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications
- Block explorers - Display transaction information
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash format |
Related Methods
eth_getTransactionReceipt- Get transaction receipteth_sendRawTransaction- Send transaction
eth_sendRawTransaction
Submit signed transactions to Moonriver. Essential for broadcasting transactions for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications.
eth_getTransactionReceipt
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.