eth_sendRawTransaction - Moonriver RPC Method
Submit signed transactions to Moonriver. Essential for broadcasting transactions for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications.
Submits a pre-signed transaction for broadcast to 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_sendRawTransaction method is essential for:
- Broadcasting transactions - Submit signed transactions to the network
- Wallet operations - Send native tokens and interact with contracts
- DeFi operations - Execute swaps, provide liquidity for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications
- Batch operations - Submit multiple transactions efficiently
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32000 | Nonce too low | Transaction nonce already used |
| -32000 | Insufficient funds | Account has insufficient balance |
| -32000 | Gas too low | Gas limit insufficient |
| -32000 | Replacement underpriced | Gas price too low for replacement |
Related Methods
eth_estimateGas- Estimate gas requiredeth_gasPrice- Get current gas priceeth_getTransactionReceipt- Get transaction result
eth_accounts
Returns a list of addresses owned by the client on Moonriver. Typically returns an empty array on public RPC endpoints.
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.