Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
action* | object | See below |
action.type* | string | Must be "cancel" |
action.cancels* | array | Cancel items |
action.cancels[].a* | string | number | Compatibility asset selector |
action.cancels[].o* | string | Internal Notional order id |
nonce* | number | Replay-protection nonce |
expiresAfter | number | Optional expiration timestamp in ms |
signature* | object | EIP-712 signature |
Response
Status Variants
| Response status | Meaning |
|---|---|
success: true | Venue confirmed the cancel |
pending.cloid | Cancel was submitted but venue confirmation timed out |
error | Validation, reducer, or venue failure |
metadata.results[].status may be confirmed, failed, pending, rejected, not_found, no_venue_id, or invalid_state.
Example Request
Notes
- Cancelable states are
open,partial, andwaitingForTrigger. - Maximum batch size is 256 cancels. -action.cancels[].ois always the internal Notional order id, not the venue order id.
