> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_sendPrivateTransaction

> Sends a signed transaction to a private relay (like Flashbots Protect) for inclusion in a block without exposure to the public mempool. Provides frontrunning and revert protection.

### Parameters

<ParamField query="chainId" type="string" default="1101" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="eth_sendPrivateTransaction" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[{"tx":"0xf86c808504a817c80082520894a0df350d2637096571f7a701cb5b1660d90cecb380b844a9059cbb000000000000000000000000b60e8dd61c5d32be8058bb8eb970870f07233155","maxBlockNumber":"0x10fb80","preferences":{"fast":true}}]} placeholder="[{&#x22;tx&#x22;:&#x22;0xf86c808504a817c80082520894a0df350d2637096571f7a701cb5b1660d90cecb380b844a9059cbb000000000000000000000000b60e8dd61c5d32be8058bb8eb970870f07233155&#x22;,&#x22;maxBlockNumber&#x22;:&#x22;0x10fb80&#x22;,&#x22;preferences&#x22;:{&#x22;fast&#x22;:true}}]" required>
  Parameters: \[transactionPayload]

  Positional parameters for <code>eth\_sendPrivateTransaction</code>:

  <ul>
    <li><code>params\[]</code>: Payload object containing raw transaction and optional execution constraints.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="boolean">
  Returns true if the transaction was successfully accepted, false otherwise. Example: <code>true</code>.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1101 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "eth_sendPrivateTransaction",
      "params": [
        {
          "tx": "0xf86c808504a817c80082520894a0df350d2637096571f7a701cb5b1660d90cecb380b844a9059cbb000000000000000000000000b60e8dd61c5d32be8058bb8eb970870f07233155",
          "maxBlockNumber": "0x10fb80",
          "preferences": {
            "fast": true
          }
        }
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": true
  }
  ```
</ResponseExample>
