Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

eth_sendPrivateTransaction

Submit a single private transaction with an optional block number ceiling. The transaction is not broadcast to the public mempool.

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendPrivateTransaction",
  "params": [
    {
      "tx": "0x...signed-tx-bytes...",
      "maxBlockNumber": "0x1234567"
    }
  ]
}

Parameters

ParameterRequiredDescription
txYesSigned raw transaction (RLP-encoded hex).
maxBlockNumberNoLast block number in which the transaction should be included (hex). Must be in the future if provided.

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x...txhash..."
}

The transaction can be cancelled with eth_cancelPrivateTransaction.