eth_sendRawTransaction - Ethereum RPC Method
Submit signed transactions to Ethereum. Essential for broadcasting transactions for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps.
Submits a pre-signed transaction for broadcast to Ethereum.
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_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 DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps
- 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 Ethereum. Typically returns an empty array on public RPC endpoints.
eth_getTransactionByHash
Retrieve transaction details by hash on Ethereum. Essential for DeFi developers, NFT creators, and enterprise blockchain teams tracking transactions on the world's leading smart contract platform with the largest developer ecosystem.