Skip to content

eth_sendRawTransaction ​

served · same as reth

Sends a signed transaction to the transaction pool and returns its hash.

When to use ​

Use it to submit a transaction that a wallet or a library signed. Then poll eth_getTransactionReceipt to see it in a block.

Example ​

The live example sends a transaction that is already in a block, so both nodes refuse it.

bash
curl -s -X POST -H 'Content-Type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_sendRawTransaction", "params": ["0x02f903700183025c3080841570de41830711a4940000000aa232009084bd71a5797d089aa4edfad480b9030409c5eabe000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002bd0000cca0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000082bedcbe00000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000aa059a20000000000000000000003bd97020d20000000000000000016e85b95fa5a26cfdac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000006c61807b0000000000000000000000000000000000004c00000001000000000000000000000000000000000000004f48fc23fe2786be2c1902335e208300010002000100000000000000000000000000000000000000000000000021bf2c5d72b4785000006602000000000000000000000c87f3e12bad81da0000000000000000000000000000630b000000000000000008e4307e8279bdf903000100000000000000000a6063f737aa97d50000000000000000000003bd97020d20000000000000000007b5699f8da666170001300c00000000000000000c87f3e12bad81da00000000000000000000000082be79b3000000000000000000000000000f4bf200000000000000000000000000000000000073d53553ee552c1f2a9722e6407d43e41e19593f1b7c5f4f9aa7520d81bd369978ebdfa048dbdbbcfcf97840df0e56c6cc80ac2e0e6c451b52c3a28f4a04e693ce080c5512839d3040f801510f0b324f73c59770160e00000000000000000a6067b4ceaca4f50000000000000000000000006c61807b00000000000000000001766c47d3a8330000000000000000000000000aa059a2000173d53553ee552c1f2a9722e6407d43e41e19593f1c3374fd4b8721179b1c3520af71545128b32485a25c651f7892ce84b88eeb3e7e5478a6f9a390bf83742e83dd79598d52e067a6f0cc0ca2a0bea649e2481b0f80000000000000c080a0103be1fd79e3a155b76cdf050414ef4e8fdda93d16b5534eb7dc73d8ba659c62a0204ce7790e5110ecea1a42048ecfdc04ef42f7163b14042d4b8de3e4abc03fc2"]}' \
  http://127.0.0.1:8547
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendRawTransaction",
  "params": [
    "0x02f903700183025c3080841570de41830711a4940000000aa232009084bd71a5797d089aa4edfad480b9030409c5eabe000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002bd0000cca0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000082bedcbe00000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000aa059a20000000000000000000003bd97020d20000000000000000016e85b95fa5a26cfdac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000006c61807b0000000000000000000000000000000000004c00000001000000000000000000000000000000000000004f48fc23fe2786be2c1902335e208300010002000100000000000000000000000000000000000000000000000021bf2c5d72b4785000006602000000000000000000000c87f3e12bad81da0000000000000000000000000000630b000000000000000008e4307e8279bdf903000100000000000000000a6063f737aa97d50000000000000000000003bd97020d20000000000000000007b5699f8da666170001300c00000000000000000c87f3e12bad81da00000000000000000000000082be79b3000000000000000000000000000f4bf200000000000000000000000000000000000073d53553ee552c1f2a9722e6407d43e41e19593f1b7c5f4f9aa7520d81bd369978ebdfa048dbdbbcfcf97840df0e56c6cc80ac2e0e6c451b52c3a28f4a04e693ce080c5512839d3040f801510f0b324f73c59770160e00000000000000000a6067b4ceaca4f50000000000000000000000006c61807b00000000000000000001766c47d3a8330000000000000000000000000aa059a2000173d53553ee552c1f2a9722e6407d43e41e19593f1c3374fd4b8721179b1c3520af71545128b32485a25c651f7892ce84b88eeb3e7e5478a6f9a390bf83742e83dd79598d52e067a6f0cc0ca2a0bea649e2481b0f80000000000000c080a0103be1fd79e3a155b76cdf050414ef4e8fdda93d16b5534eb7dc73d8ba659c62a0204ce7790e5110ecea1a42048ecfdc04ef42f7163b14042d4b8de3e4abc03fc2"
  ]
}

Response ​

Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32000,
    "message": "nonce too low: next nonce 154690, tx nonce 154672"
  }
}

Sent with a transaction that is already mined, so both nodes refuse it.

Full response

Parameters ​

NameTypeRequiredMeaning
transactionhex datayesThe signed transaction, RLP-encoded. A blob transaction must have its blobs (the network form with the sidecar).

Returns ​

The transaction hash (32 bytes, hex).

Notes and limits ​

  • Only engine mode has a transaction pool. In serve mode, the method gives -32601.
  • The node checks the transaction with the admission rules of reth, in the same order, with the same errors.
  • The total fee cap is --rpc-txfeecap, 1.0 ether by default.
  • A transaction is at most 128 KiB. Its gas limit must not be above the gas limit of the block.
  • With --p2p, the node announces the transaction to its peers.

Errors ​

CodeMessageWhen
-32000nonce too low: next nonce N, tx nonce MThe account already used this nonce.
-32003insufficient funds for gas * price + value: have X want YThe balance cannot pay for the transaction.
-32000already knownThe pool already has this transaction.
-32000replacement transaction underpricedA transaction with the same nonce is in the pool and the new one does not pay enough more.
-32000transaction underpricedThe fees are too low for the pool.
-32000intrinsic gas too lowThe gas limit is below the minimum for this transaction.
-32000exceeds block gas limitThe gas limit is above the gas limit of the block.
-32000tx fee (X wei) exceeds the configured cap (Y wei)The highest fee of the transaction (gas limit times fee cap) is above --rpc-txfeecap.
-32000invalid chain IDThe transaction is for another chain.
-32602failed to decode signed transactionThe data is not a valid transaction.
-32602invalid transaction signatureThe node cannot recover the sender.
-32601Method not foundThe node runs in serve mode, without a pool.

Compared with reth ​

The checks, their order, the error codes and the texts are those of reth.

The live example above gives the same answer on Cinder and on reth 2.7.

eth_getTransactionReceipt, eth_getTransactionByHash, eth_estimateGas, txpool_status.

Schema (OpenRPC) ​

The official specification: eth_sendRawTransaction in ethereum/execution-apis.

Parameter Transaction: string
json
{
  "pattern": "^0x[0-9a-f]*$",
  "title": "hex encoded bytes",
  "type": "string"
}
Result: string
json
{
  "pattern": "^0x[0-9a-f]{64}$",
  "title": "32 byte hex value",
  "type": "string"
}