# Tokens with tax

Trading tokens with [built-in fees](#user-content-fn-1)[^1] poses a risk of getting less tokens than you expect after swap.

{% hint style="warning" %}
Such fee is designed by a token creator and is enforced by its smart contract each time you buy or sell the token. Since it's set on a token contract level, DeDust can’t remove or decrease it.
{% endhint %}

To protect users from potentially higher loss than expected, by default trading tokens with tax in [Swap](https://dedust.io/swap) is disabled. Once you select one of such tokens, there will be a relevant warning message.

And once you enter the amount, **Token fee** size for both *Buy* and *Sell* transactions will be shown.

<div><figure><img src="/files/IohByYWdO8BPqsOQJw6L" alt=""><figcaption></figcaption></figure> <figure><img src="/files/1Ouq7ocsICKbPX5kmwiP" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
This protection feature and additional ***Token fee*** info is available only for recognized contracts of tax tokens. Some new and yet unknown tokens still may also charge inbuilt fee without any warning, once you import such [non-whitelisted](/en/launch/whitelist/non-whitelisted.md) token. Do your own research and find more about each token's risk using [**Coins**](/en/trade/coins.md) section.
{% endhint %}

To enable trading tax tokens, go to **Advanced settings** and toggle the 'Trade tokens with tax' switcher. Either from the warning or by pressing gear button in the top right corner of Swap screen.

Now 'Swap' button is active and you can trade. Press on ***Token fee*** for a quick tooltip on tokens with tax.

<div><figure><img src="/files/eyauZXIdwMzBHhdGBXDE" alt=""><figcaption></figcaption></figure> <figure><img src="/files/PXGCmTpgF0tTS6dMA8gk" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
***Min. receive*** value doesn't consider yet the amount (loss) that will be deducted by a tax token's contract itself.
{% endhint %}

[^1]: Often called also 'tax'.


---

# 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.dedust.io/en/trade/swap/tax.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.
