---
title: "eth_sendRawTransaction"
description: "Submits a pre-signed RLP-encoded transaction to the network. Submit to a Flashblocks preconf endpoint for ~200ms pre-confirmation."
source: https://basehub.org/api-reference/eth/eth_sendrawtransaction/
---
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`](/api-reference/flashblocks/base_transactionStatus/) to confirm receipt in the mempool, then subscribe to [`newFlashblockTransactions`](/api-reference/flashblocks/newFlashblockTransactions/) to detect pre-confirmation.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | string | Yes | The signed transaction as an RLP-encoded hex string. Typically produced by a wallet library such as viem, ethers.js, or web3.js. |

## Returns

| Field | Type | Description |
| --- | --- | --- |
| `result` | string | The 32-byte transaction hash, returned when the transaction is accepted into the mempool. |

## Error codes

| Code | Message | Description |
| --- | --- | --- |
| `-32000` | nonce too low | The transaction nonce is below the current account nonce. |
| `-32000` | insufficient funds for gas * price + value | The sender's balance cannot cover the gas cost plus the value transferred. |
| `-32000` | already known | An identical transaction is already in the mempool. |
| `-32000` | replacement transaction underpriced | A replacement transaction must increase the gas price by at least 10%. |

## Example

### Request (standard)

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

### Request (Flashblocks preconf submission)

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

### Response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"
}
```
