> 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/getting-started/gasless-swaps-explained.md). Agents can also search and read this documentation through its [MCP server](https://docs.t0ns.com/~gitbook/mcp).

# Gasless Swaps Explained

## Why gasless matters on TON

Many Telegram-native users arrive with stablecoins or other jettons, not spare TON for fees. A regular on-chain swap still needs gas, so the first interaction can fail even when the wallet already holds the asset being traded.

Gasless execution removes that first-friction step. Instead of requiring a separate TON top-up before the trade, the fee is handled through a relay flow in the background.

## How Tonkeeper Battery fits in

Tonkeeper Battery is a prepaid balance of "charges" that covers wallet-level and network-level fees on behalf of the user. The balance can be topped up inside the wallet flow, and supported swaps deduct the required charges automatically.

For some supported assets, the fee can also be embedded into the execution flow instead of requiring a separate TON balance in advance.

## How a gasless swap executes

1. The user selects the pair and reviews the quote as in a normal swap.
2. The wallet signs through TON Connect without attaching TON for gas.
3. A relay service submits the transaction and covers the fee on-chain.
4. The fee is settled through Tonkeeper Battery or an equivalent embedded mechanism.
5. The app shows the transaction status after relay submission and confirmation.

From the user's side, the flow stays close to a normal swap. The difference is how fees are covered in the background.
