# Swap

The swap panel allows users to swap between the base asset, the leverage-coin (aXXX) and the yield-coin (zXXX). Dropdowns allow users to choose the direction of swap and enter an amount to be swapped. Estimated swap outputs and swap price are shown before swapping.

If a user wants leverage-coins or yield-coins directly, there is no need to mint and then swap - users can direclty swap base assets for leverage- or yield-coins in the Swap panel. In a similar way, users can redeem their leverge- and yield-coins for base assets in the Swap panel.

<figure><img src="/files/ynFgy6GJOJRf5JLv0Vgd" alt=""><figcaption></figcaption></figure>


---

# 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.covenant.finance/user-guide/market-page/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.
