v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Cancel All Orders

Cancel all open orders for the authenticated account on one instrument. Requires proxy signature, see proxy signing.

delete/v1/trade/orders/all

Request body

sigstring required

Signature in hex format

saltinteger required

Salt

tsinteger required

Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).

expinteger

Command expiry timestamp in Unix milliseconds. If provided, it must be in the future and within the gateway's default command timeout. It can shorten request validity but cannot extend it. This is not an order auto-cancel time.

Example request

{
  "op": {
    "args": {
      "iid": 1
    }
  },
  "sig": "0x1234567890...",
  "salt": 1234567890,
  "ts": 1767225600000,
  "exp": 1767225600000
}

Response

Cancel all accepted response.

status'ok' required