Cancel Order
What's Cancel in Carina?
In Carina, "Cancel" means stopping your swap order before it gets matched or completed. It’s a way for you to change your mind and take back your order if you act quickly enough. This helps you stay in control, especially when market conditions change or you make a mistake.
Types of Cancel
In Carina, These are 2 types of cancel: "On-chain and Off-chain cancellation". Let Carina make sense two types of Cancel to you:
What's On-chain cancellation?
On-chain cancellation means sending a transaction to the blockchain to ensure that an intent cannot be executed, even if it has already been signed or distributed.
How It Works:
You sends transaction to the Carina smart contract (Permit2).
This transaction:
Marks the intent as “cancelled”.
Invalidates the signature.
When solvers or contracts check the intent, it will be rejected.
Characteristics:
Requires gas (on-chain transaction).
Fully secure to ensure the intent cannot be executed.
Necessary if the intent has already been signed and shared.
On - chain cancellation Flow:
At Step 2 or 3 of the trading process, Carina will display a “Cancel” button. Click on this button if you wish to cancel your intent.

Carina will present you with two cancellation options:
Off-chain Cancellation.
On-chain Cancellation.
Select the “On-chain Cancellation” option and click “Proceed”.

After confirming the transaction in your wallet, a confirmation message will appear with two options:

Click "View on Explorer" to check the transaction details on the blockchain.
Click "Back to Swap" to return and create a new order.
Also, you can check your order activity on Wallet History Account:

What's Off-chain cancellation?
Off-chain cancel refers to invalidating an intent within the backend system or solver network, before it is submitted to the blockchain for execution.
How It Works:
The user sends a cancel request via the UI.
The system marks the intent as “revoked” or “invalid.”
Solvers will ignore this intent during batching or auction processes.
No gas fees are involved since no on-chain transaction is made.
Characteristics:
Free (no gas cost).
Fast and flexible, ideal for intents that haven’t been processed yet.
Not 100% guaranteed if the intent has already been shared with solvers.
Off - chain Cancellation Flow:
At Step 2 or 3 of the trading process, Carina will display a “Cancel” button. Click on this button if you wish to cancel your intent.

Carina will present you with two cancellation options:
Off-chain Cancellation.
On-chain Cancelllation.
Select the “Request Off-chain Cancellation” option and click “Proceed”.

After confirming the transaction in your wallet, a confirmation message will appear.

Click Back to swap – to return and create a new trade.
You can check your order activity on Wallet History Account.

Too late to cancel
In some cases, your intent may already be in the process of being executed — for example, it has been picked up by a solver and is being included in a batch for settlement. When this happens, off-chain cancellation is no longer possible.

Last updated
