Endpoint
Description
Supports both single modify ("modify") and batch modify ("batchModify").
Request Body
| Parameter | Type | Description |
|---|---|---|
action* | object | See below |
action.type* | string | "modify" or "batchModify" |
action.oid | string | number | Order id for single modify |
action.order | object | New order fields for single modify |
action.modifies | array | Batch modify list |
action.modifies[].oid* | string | number | Internal Notional order id |
action.modifies[].order* | object | New order fields |
action.order.p* | string | New price, or "0" for market |
action.order.s* | string | New total order size |
action.order.r | boolean | Optional reduce-only override |
action.order.t* | object | Order type config; must match immutable trigger/TIF properties |
nonce* | number | Replay-protection nonce |
expiresAfter | number | Optional expiration timestamp in ms |
signature* | object | EIP-712 signature |
Response
The server echoes the incoming action type:Status Variants
| Response status | Meaning |
|---|---|
resting.oid | Venue confirmed the modify |
pending.cloid | Modify was submitted but venue confirmation timed out |
error | Validation, reducer, or venue failure |
Example Request
Notes
- Maximum batch size is 20 modifies. -
sis the total desired order size, not remaining size. - Asset, side, trigger kind, and TIF are immutable and must stay compatible with the original order.
