action* | object | See below |
action.type* | string | Must be "modify" or "batchModify" |
action.oid | string | number | Internal order ID (single modify only) |
action.order | object | Modified order fields (single modify only) |
action.modifies | array | Batch modify list (batch modify only) |
action.modifies[].oid* | string | number | Internal order ID |
action.modifies[].order* | object | Modified order fields |
action.order.p* | string | New limit price (use "0" for market orders) |
action.order.s* | string | New total order size (not remaining size) |
action.order.r | boolean | Reduce-only flag (optional) |
action.order.t* | object | Order type config (must match original TIF/trigger type) |
action.order.t.limit.tif | string | Time-in-force: "Gtc", "Alo", "Ioc" |
action.order.t.trigger.isMarket | boolean | true for stop-market, false for stop-limit |
action.order.t.trigger.triggerPx | string | Trigger price for stop orders |
action.order.t.trigger.tpsl | string | "tp" (take profit) or "sl" (stop loss) |
nonce* | number | Timestamp in milliseconds for replay protection |
expiresAfter | number | Optional expiration timestamp (ms) |
signature* | object | EIP-712 signature (r, s, v) |