Skip to content

eth_sendPrivateRawTransaction

both method eth_sendPrivateRawTransaction or eth_sendRawTransaction are supported in jet builder.

The RPC has the following payload format


{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendPrivateRawTransaction", // also support eth_sendPrivateRawTransaction
  "params": [
          txs // Array[String], A list of signed transactions
  ]
}

Params Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendPrivateRawTransaction",
  "params": [
     "0x123abc..."
  ]
}

Response Example:

{
  "jsonrpc": "2.0",
  "id": "123",
  "result": "0x2228f5d...." // tx Hash
}