Skip to main content
Submits a pre-signed, RLP-encoded transaction to the network and returns its hash.
Flashblocks: Submit to https://mainnet-preconf.base.org to have your transaction considered for the next Flashblock (~200ms). Use base_transactionStatus to confirm receipt in the mempool and subscribe to newFlashblockTransactions to detect pre-confirmation.

Parameters

data
string
required
The signed transaction as an RLP-encoded hex string. Typically generated by a wallet library such as viem, ethers.js, or web3.js.

Returns

result
string
The 32-byte transaction hash if the transaction was accepted into the mempool.

Error Codes

CodeMessageDescription
-32000nonce too lowThe transaction nonce is lower than the current account nonce.
-32000insufficient funds for gas * price + valueThe sender’s balance cannot cover gas cost and value.
-32000already knownAn identical transaction is already in the mempool.
-32000replacement transaction underpricedA replacement transaction must increase the gas price by at least 10%.

Example

curl https://mainnet.base.org \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0x02f86b82210501843b9aca008477359400825208944200000000000000000000000000000000000006872c68af0bb1400080c001a0..."],"id":1}'