# Cancel Swap

**Condition:**&#x20;

* Only when switching from FRTS to TFSTs and vice versa.&#x20;
* Swap orders with FRTS/TFSTs are locked&#x20;

**Step 1**

* From the "Juice-DEX" screen, click on the icon ![](https://3885373335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX7ySYFWpl8DCdr37E2NT%2Fuploads%2FcnGcxU1EcmYv2UZuV7NE%2Fimage.png?alt=media\&token=9f5a4f83-7b1e-4134-ab2e-d44b888cc4c7)  --> Redirect to "Open Swap Orders" screen.                                                                                                                                                                  \
  ![](https://3885373335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX7ySYFWpl8DCdr37E2NT%2Fuploads%2F0v2PUoV0gZdu4WHK0wsP%2Fimage.png?alt=media\&token=fcfa19b5-2662-4adc-b075-d2cdf0aec9f3)

**Step 2**

* Pressing the "Cancel" button shows the "Cancel Swap" popup.                                                                                                                                                                                                          ![](https://3885373335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX7ySYFWpl8DCdr37E2NT%2Fuploads%2FkLzL5WfMWJFX98T6lSBH%2Fimage.png?alt=media\&token=a2d0c9e0-6686-459a-a845-fe724f7182cd)![](https://3885373335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX7ySYFWpl8DCdr37E2NT%2Fuploads%2FvIt7Ye5yklJ0gsqgaG6r%2Fimage.png?alt=media\&token=d1267c78-13a3-49de-8328-90dc80439765)

**Step 3**

* Press the "Yes" button --> Cancellation confirmed
* The user needs to wait a few minutes for the system to confirm the transaction.
  * After the network confirms the successful transaction, the locked amount of FRTS/TFSTs is available.
  * The system automatically refunds the swap fee to the user.
  * The swap order is no longer displayed in the list of swaps that are locked FRTS/ TFSTs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fwallet.net/app-fruits-wallet/juice-dex/swap/cancel-swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
