> For the complete documentation index, see [llms.txt](https://docs.t0ns.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.t0ns.com/trading-and-liquidity/swap-basics-and-interface.md). Agents can also search and read this documentation through its [MCP server](https://docs.t0ns.com/~gitbook/mcp).

# Swap Basics & Interface

This page explains how swaps work on t0ns and what the main interface elements mean before you confirm a trade.

## How swaps work on t0ns

A swap is an on-chain exchange of one token for another through liquidity pools rather than an order book. You send one asset to the router contract and receive the output asset at the rate available in the selected pools at execution time.

t0ns uses an Automated Market Maker (AMM) model. Depending on the pair, the router can use:

* standard pools for volatile assets,
* stable or weighted-stable pools for correlated assets,
* concentrated liquidity pools when an active range offers the best quote.

For the user, the important point is simple: the quoted output depends on pool liquidity, fees, and price impact, not on a standing bid/ask book.

## Making your first swap

### Connect a wallet

t0ns uses **TON Connect** to talk to compatible wallets such as Tonkeeper and Telegram Wallet. After the first approval, the Mini App remembers the session until you disconnect or the wallet session expires.

### Select tokens

Choose the token you pay and the token you want to receive. Search works by ticker, name, and contract address. If you are importing a token manually, verify the address in the explorer before trading.

### Enter an amount

You can enter either the input amount or the target output. The app recalculates the other side in real time based on current liquidity. The **MAX** action usually leaves a small gas buffer instead of emptying the wallet completely.

### Review execution settings

Before signing, check:

* the quoted rate,
* minimum received,
* price impact,
* the route,
* protocol and network fees.

If price impact or slippage looks unusually high, reduce size or reassess the pair.

### Confirm and track status

Once you sign in the wallet, the interface usually moves through three states: pending, processing, and completed. If the trade fails, the reason is typically one of three things: insufficient gas, slippage exceeding the allowed limit, or a route change between quote and execution.

## Reading the interface

### Token search and verification

The search panel normally prioritizes established tokens and major pairs. For less common assets, the safest workflow is to paste the jetton address directly and verify the explorer record before import.

### Balances and estimates

The form shows the available token balance and often a USD-equivalent estimate under each input. These estimates help size the trade, but the final on-chain result depends on the actual execution path at confirmation time.

### Price, route, and impact

Three fields matter more than the rest:

* **Rate** tells you the current quoted exchange level.
* **Route** shows whether the trade is direct or passes through one or more intermediate pools.
* **Price impact** shows how much your own order is moving the market.

Small trades in deep pools usually have low price impact. Larger trades or illiquid pairs can move it sharply.

### Slippage settings

Slippage tolerance defines how far the execution price may move before the trade is canceled. Auto mode is usually fine for liquid pairs. Custom settings are useful when:

* the market is moving quickly,
* the pair is thinly traded,
* you want tighter execution constraints than the default.

## Telegram Mini App experience

t0ns is designed to work inside a Telegram Mini App, but signing still happens through a connected TON wallet. Telegram can open the Mini App directly from a chat or deep link, while TON Connect handles transaction approval.

On mobile, the interface is optimized around quick token selection, short review flows, and wallet confirmation. The goal is not to remove wallet signing, but to make the path from quote to execution shorter.

## Gasless execution in the interface

If the connected wallet and selected asset support gasless execution, the app can route the transaction through Tonkeeper Battery or a similar relay flow. From the user side, the review flow stays close to a normal swap. The difference is how gas is settled in the background.

For the full flow, see [Gasless Swaps Explained](https://docs.t0ns.com/getting-started/gasless-swaps-explained.md).
