Request
| Field | Type | Need | Description | Example |
|---|---|---|---|---|
”id” | Full UUID string | required | Client-defined request ID | 1bb2b72f-f545-4938-8a38-c5cda8823675 |
”params” | object | required | Contains action type and action parameters | ”cancel_all_orders" |
"cancel_all_orders” | object | required | Specifies action type and contains parameters | See examples. |
”account” | string | required | User’s wallet address | 42trU9A5… |
“agent_wallet” | string | optional | Agent wallet address | 69trU9A5… |
“signature” | string | required | Cryptographic signature | 5j1Vy9Uq… |
“timestamp” | integer | required | Current timestamp in milliseconds | 1716200000000 |
”expiry_window” | integer | optional | Signature expiry in milliseconds | 30000 |
”all_symbols” | boolean | required | Whether to cancel orders for all symbols | true |
”exclude_reduce_only” | boolean | required | Whether to exclude reduce-only orders | false |
”symbol” | string | required (if “all_symbols” is false) | Trading pair symbol | BTC |
On error, the frame omits
data and instead carries an err (string) field describing the failure, alongside the same id, type, code, t, and rl fields.