> 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/setting-approvals.md).

# Setting Approvals

In this guide, we will walk you through the process of setting token approval for trading on the Multiswap platform.

#### **Step 1: Select the Token(s)**

To begin your trade on Multiswap, select the token(s) you wish to sell. &#x20;

#### **Step 2: Enter the Number of Tokens You Want to Sell**

Enter the number of tokens you wish to sell in the designated field. Double-check the entered amount to avoid any potential errors or discrepancies.

#### **Step 3: Approve and Give Permission for the Multiswap Contract**

With your token(s) and the quantity selected, you'll notice an "Approve" button in the quote panel at the platform's top right corner. By clicking this button, you will be prompted to approve and grant permission for the Multiswap contract to access your selected token(s).

<figure><img src="https://3444489299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMPC8VyOwEYMS3andgvMd%2Fuploads%2FSHtnzSJUSn8xQbHt78oQ%2FUntitled%20(1).jpg?alt=media&amp;token=57bcd17f-233f-4b0b-a5d9-2499f8d77e04" alt="" width="375"><figcaption></figcaption></figure>

At this point, you have two options:

a) Approve Just Enough: This option allows you to approve only the specific amount of tokens needed for the current trade. This can provide an added layer of control over your assets, ensuring that only the needed amount is granted access.

<figure><img src="https://3444489299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMPC8VyOwEYMS3andgvMd%2Fuploads%2FRMI9OAGnQINnC7dE7J0t%2Fcap%20spending.jpg?alt=media&amp;token=6813d9de-6d1c-446f-ae01-905a94b97965" alt="" width="563"><figcaption></figcaption></figure>

b) Approve Default Amount: Alternatively, you can approve the default amount. This is equivalent to the number of tokens in your wallet at the time. This option can save you time and effort, particularly if you plan on making multiple trades in the future.

<figure><img src="https://3444489299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMPC8VyOwEYMS3andgvMd%2Fuploads%2FpTiMJmDG98YY3gopbph6%2FMax%20spending.jpg?alt=media&amp;token=77ec5966-7d1f-47dc-a592-62e37a2a737b" alt="" width="563"><figcaption></figcaption></figure>

Congratulations! You've successfully completed the token approval process for Multiswap.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.caval.re/getting-started/setting-approvals.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
