Skip to main content
POST
/
v1
/
ix
/
cancel-stop-loss-order
Build cancel stop loss order transaction
curl --request POST \
  --url https://perp-api.phoenix.trade/v1/ix/cancel-stop-loss-order \
  --header 'Content-Type: application/json' \
  --data '
{
  "authority": "string",
  "executionDirection": "string",
  "symbol": "string",
  "traderPdaIndex": 0
}
'
[
  {
    "data": [
      1
    ],
    "keys": [
      {
        "isSigner": true,
        "isWritable": true,
        "pubkey": "<string>"
      }
    ],
    "programId": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.phoenix.trade/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

JSON request payload for v1.cancel_stop_loss_order_ix.

Request payload for /ix/cancel-stop-loss-order.

authority
string
required
executionDirection
string
required

Which trigger direction to cancel: e.g. "greater_than" or "less_than".

symbol
string
required
traderPdaIndex
integer<int32>
required
Required range: x >= 0
isIsolated
boolean
positionAuthority
string | null
traderSubaccountIndex
integer<int32> | null
Required range: x >= 0

Response

200 - application/json
data
integer<int32>[]
required
Required range: x >= 0
keys
object[]
required
programId
string
required