cancel_perp_order
Cancel a resting perp order on its venue (non-custodial).
jurisdiction: cancel is geo-gated too --
see place_perp_order.
idempotency_key (optional): a client-generated UUID.
Retrying with the same key + same args replays the original result instead
of re-cancelling the order. Reuse the SAME key across the build call and
its signed_transaction completion call -- see
place_perp_order; the two legs dedupe independently, so this never raises
IDEMPOTENCY_CONFLICT.
signed_transaction / verify (two-phase execution):
see place_perp_order. A cancel moves no position, so confirming the
signature landed IS the verification -- no state re-read is declared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| venue | No | ||
| verify | No | ||
| order_id | Yes | ||
| caller_id | No | ||
| jurisdiction | No | ||
| wallet_address | Yes | ||
| idempotency_key | No | ||
| acknowledge_tier_b | No | ||
| signed_transaction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||