Skip to content

eth_sendPrivateRawTransaction

JetBuilder supports both eth_sendPrivateRawTransaction and eth_sendRawTransaction. Either method can be used to submit a signed raw transaction through the private pool.

The RPC accepts the following payload:

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

Request Example

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

Response Example

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

The result field contains the transaction hash.