eth_sendRawTransaction - Base RPC Method
Submit signed transactions to Base. Essential for broadcasting transactions for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
Submits a pre-signed transaction for broadcast to Base.
Why Base? Build on Coinbase's L2 with 54% of L2 market revenue and direct access to 110M+ Coinbase users with $8B+ TVL, $0.08 gas fees, built-in Coinbase distribution, and seamless fiat rails.
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 consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations
- 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 Base. Typically returns an empty array on public RPC endpoints.
eth_getTransactionByHash
Retrieve transaction details by hash on Base. Essential for consumer app developers, SocialFi builders, and teams seeking easy fiat onramps tracking transactions on Coinbase's L2 with 54% of L2 market revenue and direct access to 110M+ Coinbase users.