Prepare an order cancellation (EIP-712 to sign)
prepare_cancel_orderNo version argument. From an orderId, return the EIP-712 cancellation for the user to sign; cancel_order relays the result. This is the gasless route for an intent order; an order that went on chain (a native-token sell) is cancelled with cancel_order's transaction route instead, which needs no signature and no prepare. Non-custodial: this returns what the user signs, and commits nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order id (from submit_signed_order's receipt, get_order_status or get_pending_orders). |