v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Cancel Orders

Cancel orders. Requires proxy signature, see proxy signing.

delete/v1/trade/orders

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": [
      1234567890
    ]
  },
  "sig": "0x1234567890...",
  "salt": 1234567890,
  "ts": 1767225600000,
  "exp": 1767225600000
}

Response

Cancel response.

Example response

[
  {
    "oid": 1234567890,
    "coid": "550e8400e29b41d4a716446655440000"
  }
]