eth_sendRawTransaction - opBNB RPC Method
Submit signed transactions to opBNB. Essential for broadcasting transactions for fully on-chain games, high-frequency DeFi, and cost-sensitive applications on BNB Chain.
Submits a pre-signed transaction for broadcast to opBNB.
Why opBNB? Build on Binance's high-performance L2 processing 100M+ daily transactions with the lowest L2 gas fees with sub-$0.0001 gas fees, 5-10K TPS, sub-second block times via Volta/Maxwell upgrades, and OP Stack architecture.
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 fully on-chain games, high-frequency DeFi, and cost-sensitive applications on BNB Chain
- 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 opBNB. Typically returns an empty array on public RPC endpoints.
eth_getTransactionByHash
Retrieve transaction details by hash on opBNB. Essential for GameFi developers, high-frequency dApp builders, and teams requiring BNB Chain integration tracking transactions on Binance's high-performance L2 processing 100M+ daily transactions with the lowest L2 gas fees.