# Blockchain and DEX fees

{% hint style="info" %}
I**n short**:

✅ You always need a bit of TON to cover on-chain (network) fees.

✅ We reserve slightly more than the final fee so your transaction won’t fail; unused TON is auto-refunded.

✅ Swaps: we reserve up to \~0.35 TON; typical actual cost is \~0.06–0.09 TON, but can reach \~0.13 TON depending on the pool’s fee.

✅ Providing liquidity: we reserve per token (two reservations), usually up to \~0.7–0.8 TON total; typical actual cost is \~0.10–0.13 TON.

✅ DEX/trading fee (pool fee) is set per pool by its owner. A common setting is 0.30%; typically 0.20% goes to LPs and 0.10% to STON.fi, but the exact split follows the pool’s configured fee.
{% endhint %}

### Why more TON is “reserved”

TON network fees aren’t perfectly predictable upfront. To avoid failed transactions:

* We temporarily reserve a bit more TON (the “cap”).
* The unused part is sent back to you automatically right after execution.

💡 Think of it like tapping your card at a gas station: a higher hold first, then a final charge for what you actually used.

### Swaps

* Reservation (cap): up to \~0.35 TON (can vary by route/pool).
* Typical actual network fee: \~0.06–0.09 TON.
* Upper bound in some cases: \~0.13 TON.
* What drives it: the pool’s configured trading fee (set by the pool owner) and route complexity.

<figure><img src="https://telegra.ph/file/c26dac3db6bfad5d49cf0.png" alt=""><figcaption><p>Any unused portion of the reservation is refunded.</p></figcaption></figure>

### Providing Liquidity

* Two signatures, two network actions (one per token). Network fees are reserved separately for each token, it makes two reservations in total. Costs refer to adding liquidity; removing liquidity typically incurs slightly lower network fees.
* Total reservation: usually up to \~0.7–0.8 TON (both tokens combined).
* Typical actual network fee (total): \~0.10–0.13 TON.
* What drives it: pool configuration and whether you’re using balanced vs. arbitrary provision.

<figure><img src="https://telegra.ph/file/aefe34146fdaa41db6ccd.png" alt="As with swaps, unused TON is refunded automatically."><figcaption><p>As with swaps, unused TON is refunded automatically.</p></figcaption></figure>

### DEX / Trading Fee (Pool Fee)

* Who sets it: pool owner.
* Common configuration: 0.30% per swap.
* Where it goes: typically \~0.20% to LPs and \~0.10% to STON.fi.
* But: the exact fee and split follow the pool’s current settings.

🔍 You can see the trading fee in the pool details before you swap or add liquidity.

### Practical tips

✅ Keep a small TON buffer for fees (even if you mainly hold jettons).

✅ Check the pool’s fee (0.30% is common, but not guaranteed).

✅ Expect a higher reservation on first tries or complex routes; the final spend is usually lower.

✅ If a transaction fails, reserved TON is automatically returned — you don’t lose it.

<br>


---

# 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://guide.ston.fi/en/swapping-on-ston.fi/blockchain-and-dex-fees.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.
