> For the complete documentation index, see [llms.txt](https://docs.mayaprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mayaprotocol.com/deep-dive/guides/custom-memos/swap.md).

# Swap

Swap Assets Using Custom Memos.

{% hint style="warning" %}
This guide should only be used by Advanced Users. It is highly recommended to use [**Maya UIs** ](https://docs.mayaprotocol.com/introduction/integrations)to transact. A mistake in any step CAN cause **loss of funds**.
{% endhint %}

## Memo Format

**`SWAP:ASSET:DESTADDR`**

{% hint style="info" %}
For a full list of memo formats and abbreviations check this [page](https://docs.mayaprotocol.com/mayachain-dev-docs/concepts/transaction-memos).
{% endhint %}

## Procedure

### Through a MAYAChain UI (eg. Asgardex, THORWallet)

1. Connect/Create wallet.
2. Transfer from the ASSET you want to swap from (eg. ETH).
3. In the memo field substitute the format for the actual values. Example:

   * `SWAP:MAYA.CACAO:maya1x5979k5wqgq58f4864glr7w2rtgyuqqm6l2zhy`

   or you can abbreviate it to:

   * `=:MAYA.CACAO:maya1x5979k5wqgq58f4864glr7w2rtgyuqqm6l2zhy`
4. In the amount field, type the amount you wish to swap

{% hint style="info" %}
Make sure you have an amount left in your (from) wallet to cover the transaction fees.\
\
Check the following for [**BTC fees**](https://bitinfocharts.com/comparison/bitcoin-transactionfees.html#3m), [**ETH fees**](https://bitinfocharts.com/comparison/ethereum-transactionfees.html#3m), RUNE fees (0.02 $RUNE), [**DASH fees**](https://bitinfocharts.com/comparison/dash-transactionfees.html#3m), KUJI fees (around 0.003 $KUJI, but confirm through a Kujira Wallet).
{% endhint %}

5. Press send.
6. Check your transaction/Maya Address on [**MayaScan**](https://www.mayascan.org/).


---

# 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.mayaprotocol.com/deep-dive/guides/custom-memos/swap.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.
