# What is a swap? How does it work?

A **swap** enables direct cryptocurrency exchange within your wallet. **MyTonWallet** supports two types of swaps:

* **On-chain swaps** within the same blockchain
* **Cross-chain swaps** between different blockchains

## :link: On-Chain Swaps

Exchange tokens within a single blockchain network (e.g., **TON**) through a fully **decentralized** process.

{% hint style="info" %}
**Example:** Convert **TON** to **MY**, **HMSTR**, **STON**, or other supported tokens directly in your wallet.
{% endhint %}

## :currency\_exchange: Cross-Chain Swaps

Transfer assets between different blockchain networks, including **TON**, **TRON**, and others.

{% hint style="info" %}
**Example:** Convert **TON** to **BTC** without using an exchange. Simply provide a BTC wallet address, and the swap is processed through our trusted partner, [**Changelly**](https://changelly.com).
{% endhint %}

***

{% hint style="success" %}
Start swapping now with our [**swap aggregator**](http://my.tt/swap/?amount=50\&in=tron-tr7nhqjekq\&out=ton-eqcxe6mutq) 🚀
{% endhint %}


---

# 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://help.mytonwallet.io/intro/swaps/what-is-a-swap-how-does-it-work.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.
