Submits a pre-signed, RLP-encoded transaction to the network and returns the resulting transaction hash.
Submit to https://mainnet-preconf.base.org to have the transaction considered for the next Flashblock (~200ms). After submission, call base_transactionStatus to confirm receipt in the mempool, then subscribe to newFlashblockTransactions to detect pre-confirmation.
Name Type Required Description datastring Yes The signed transaction as an RLP-encoded hex string. Typically produced by a wallet library such as viem, ethers.js, or web3.js.
Field Type Description resultstring The 32-byte transaction hash, returned when the transaction is accepted into the mempool.
Code Message Description -32000nonce too low The transaction nonce is below the current account nonce. -32000insufficient funds for gas * price + value The sender’s balance cannot cover the gas cost plus the value transferred. -32000already known An identical transaction is already in the mempool. -32000replacement transaction underpriced A replacement transaction must increase the gas price by at least 10%.
curl https://mainnet.base.org \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0x02f86b82210501843b9aca008477359400825208944200000000000000000000000000000000000006872c68af0bb1400080c001a0..."],"id":1}'
curl https://mainnet-preconf.base.org \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0x02f86b82210501843b9aca008477359400825208944200000000000000000000000000000000000006872c68af0bb1400080c001a0..."],"id":1}'
"result" : "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"