> For the complete documentation index, see [llms.txt](https://radixplanet.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://radixplanet.gitbook.io/docs/dex/protocol-fees.md).

# Protocol Fees

## In RadixPlanet DEX, we have two types of protocol fees applicable, as follows:

### 1. Swap Fees

For all liquidity pools that are created on Planet DEX, we have two fee rules that gets added automatically on top of the rule the user have configured, those rules are:

| Rule Type  | Value | Collection Strategy       |
| ---------- | ----- | ------------------------- |
| Percentage | 0.2%  | Add To Package Owner Fees |
| Percentage | 0.2%  | Add To Treasury           |

The collection strategies of "Add To Package Owner Fees" and "Add To Treasury" are special types of collection strategies that means the following:

1. Add To Package Owner Fees:

   Means that the fees collected because of this rule will be credited for RadixPlanet itself and is considered an income for the exchange
2. Add To Treasury:

   Means that the fees collected because of this rule will be automatically deposited to RadixPlanet DEX treasury, more about the treasury [here](/docs/dex/treasury.md)

### 2. Royalty Fees

For all liquidity pools that are created on Planet DEX, we have a royalty fee configured that gets accumulated with every swap as part of the transaction fee in XRD, those royalty fees are periodically claimed and deposited to the treasury by the package owner (RadixPlanet DEX).

As we have already deployed multiple packages with some updates to the code with each package, the details of the royalty fees varies based on which package the pools is created on as follows:

1. Package v1.0.0: $0.02 worth of XRD
2. Package v1.1.0: $0.03 worth of XRD
3. Package v1.1.1: $0.03 worth of XRD


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://radixplanet.gitbook.io/docs/dex/protocol-fees.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
