# Fees

There is a 0.30% fee for swapping tokens. Break it down into:

* **0.25% fee is split by liquidity providers proportional to their contribution to liquidity reserves.**&#x20;

Swapping fees are instantly added to liquidity reserves, effectively raising the value of liquidity tokens. This acts as a payout to all liquidity providers in proportion to their pool share. To collect fees, liquidity tokens are burned to remove a proportional share of the underlying reserves.

Since fees are added to liquidity pools, the invariant increases at the end of every trade. Within a single transaction, the invariant represents `token0_pool / token1_pool` at the end of the previous transaction.

* **0.05% for the protocol fee.**

A protocol-wide charge of 0.05% per trade will take effect. This represents ⅙th (16.6̅%) of the 0.30% fee

This amount would not affect the fee paid by traders, but would affect the amount received by liquidity providers.

Protocol fee will be received at this wallet address: ....


---

# 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://docs.cabbageswap.com/cabbageswap/features/exchange/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.
