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:

  1. 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.

  1. 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.

  1. 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.

  1. 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:

Network Connection

In step 3, your transaction might not be processed immediately due to network conditions.

You can click the Cancel button to stop the current transaction and start a new one.

Last updated