Docs

eth_sendRawTransaction - Optimism RPC Method

Submit signed transactions to Optimism. Essential for broadcasting transactions for cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients.

Submits a pre-signed transaction for broadcast to Optimism.

Why Optimism? Build on the heart of the Superchain powering 60%+ of Ethereum L2 transactions with $6B+ TVL with OP Stack modularity, Superchain interoperability, 17M+ daily transactions across 33 chains, and 20% of tokens for public goods.

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 cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients
  • Batch operations - Submit multiple transactions efficiently

Code Examples

Error Handling

Error CodeMessageDescription
-32000Nonce too lowTransaction nonce already used
-32000Insufficient fundsAccount has insufficient balance
-32000Gas too lowGas limit insufficient
-32000Replacement underpricedGas price too low for replacement