{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_sendRawTransaction",
  "params": ["0xd46e8dd67c5d32be8d24c6b0afe7c5c3f4e9c3b2dae18d0c6b0cf5c8f3e8b2c1"]
}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}

Defined in the Ethereum JSON-RPC Specification

Submits a pre-signed transaction for broadcast to the Ethereum network.

Parameters

signedTransactionData
string
required

The signed transaction data as a hexadecimal string.

Returns

result
string

The transaction hash (32 bytes) as a hexadecimal string, or the zero hash if the transaction is not yet available.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_sendRawTransaction",
  "params": ["0xd46e8dd67c5d32be8d24c6b0afe7c5c3f4e9c3b2dae18d0c6b0cf5c8f3e8b2c1"]
}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}

Error Handling

CodeMessageDescription
-32602Invalid paramsInvalid transaction data format
-32000Insufficient fundsAccount doesn’t have enough balance
4001User rejected the requestUser denied the transaction request
4100Requested method not supportedThe method is not supported by the wallet

Ensure the transaction is properly signed before submitting. Invalid signatures will result in transaction failure.