Skip to main content
POST
/
v1
/
ix
/
place-isolated-market-order-enhanced
Build isolated market order transaction with liquidation estimate
curl --request POST \
  --url https://perp-api.phoenix.trade/v1/ix/place-isolated-market-order-enhanced \
  --header 'Content-Type: application/json' \
  --data '
{
  "authority": "string",
  "side": "string",
  "symbol": "string"
}
'
{
  "instructions": [
    {
      "data": [
        1
      ],
      "keys": [
        {
          "isSigner": true,
          "isWritable": true,
          "pubkey": "<string>"
        }
      ],
      "programId": "<string>"
    }
  ],
  "estimatedLiquidationPriceUsd": 123
}

Body

application/json

JSON request payload for v1.place_isolated_market_order_enhanced_ix.

Request payload for /ix/place-isolated-market-order.

authority
string
required
side
string
required
symbol
string
required
allowCrossAndIsolatedForAsset
boolean | null
feePayer
string | null
flightBuilderAuthority
string | null
flightFeeCollectorTrader
string | null
isReduceOnly
boolean | null
maxPriceInTicks
integer<int64> | null
Required range: x >= 0
numBaseLots
integer<int64> | null
Required range: x >= 0
pdaIndex
integer<int32> | null
Required range: x >= 0
positionAuthority
string | null
quantity
number<double> | null
skipTransferToParent
boolean | null
tpSl
object

TP/SL configuration shared across endpoints.

transferAmount
integer<int64>
Required range: x >= 0

Response

200 - application/json
instructions
object[]
required
estimatedLiquidationPriceUsd
number<double> | null