> For the complete documentation index, see [llms.txt](https://critters-quest-1.gitbook.io/critters-quest-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://critters-quest-1.gitbook.io/critters-quest-docs/the-gathering/interface/4.-resources-wallet/swap.md).

# Swap

The **Swap UI** enables players to instantly exchange resources and $QUEST directly within their **Town Bank**. Whether converting gathered materials into spendable currency or swapping $QUEST for crafting supplies, this interface provides a seamless in-game trading experience. Players can define **swap pairs**, review real-time conversion rates, and customize **swap settings** like slippage tolerance and transaction priority fees for faster execution. All swaps occur securely on-chain, updating both wallet and town balances immediately. Use this tool to optimize your resource flow—fueling your workshops, town upgrades, and faction contributions without leaving the game.

{% hint style="success" %}
Resources earned through Gathering by Critters are held in your Town Bank.&#x20;
{% endhint %}

{% hint style="danger" %}
From the "Swap From" Dropdown, you can swap resources in your Town Bank or a Privy Connected Wallet.
{% endhint %}

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


---

# 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:

```
GET https://critters-quest-1.gitbook.io/critters-quest-docs/the-gathering/interface/4.-resources-wallet/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.
