> For the complete documentation index, see [llms.txt](https://docs.caval.re/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caval.re/getting-started/building-a-multiswap.md).

# Building a Multiswap

## Trade

Users can view lists of available assets and pool tokens on the Trade page, along with important information such as the current price and token reserves. In addition, users can search for tokens using their respective ticker symbols, making it easy to find desired tokens.

To trade, users can click "Buy" or "Sell," and the asset will be added to the Quote panel.

<figure><img src="/files/vBayRnJ7ggZEAQf5w0oP" alt=""><figcaption><p>Multiswap Front End </p></figcaption></figure>

## Quote Panel

<figure><img src="/files/i13U4AXfrOmsfypgLtKT" alt="" width="184"><figcaption><p>Quote Panel</p></figcaption></figure>

The Quote panel is a familiar "shopping cart" panel on the right-hand side of the screen, displaying all the selected tokens for buying or selling. It allows users to manage multiple tokens in one place with ease.

Once the selection is made, users can confirm the transaction with a single click, streamlining the multi-tokens trading process and making it faster and more efficient. With Multiswap, users can quickly execute novel trading mechanisms with a familiar interface.

> Note: when **selling**, users need to input the **number of tokens** they want to sell, while when **buying**, users need to input the **allocation in percentage**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.caval.re/getting-started/building-a-multiswap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
