Docs

eth_sendRawTransaction - Unichain RPC Method

Submit signed transactions to Unichain. Essential for broadcasting transactions for decentralized exchanges, liquidity protocols, and MEV-protected DeFi applications.

Submits a pre-signed transaction for broadcast to Unichain.

Why Unichain? Build on Uniswap's DeFi-optimized Superchain L2 with 250ms sub-blocks and 95% lower costs than Ethereum with 250ms sub-blocks (fastest L2), TEE-secured block building, native Superchain interoperability, and 65% revenue to validators.

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 decentralized exchanges, liquidity protocols, and MEV-protected DeFi applications
  • 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