# Fee Distribution

Fees from different sources are distributed across various modules and entities as shown in the diagram below.

<figure><img src="/files/aZatZfNmPQN35or8XFOR" alt=""><figcaption></figcaption></figure>

Read the individual documents below to learn more.

**Source**

* [Trading Fees](/trade/fees/trading-fees.md)
* [Funding Rate](/trade/fees/funding-fees.md)
* [Futures Liquidation](/trade/futures/liquidation-engine.md)
* [Perps P\&L](/earn/liquidity-pools/perp-pools.md)
* [Borrow Liquidation](/earn/nitron-lend-and-borrow/liquidation.md)

**Distribution**

* [Referrers](/earn/referrals.md)
* [Stakers](/stake-swth-dmx.md)
* [Validators](/technical/running-a-node/validators.md#why-be-a-validator)
* [Perp LP](/earn/liquidity-pools/perp-pools.md)
* [Spot LP](/earn/liquidity-pools/liquidity-pools.md)


---

# 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.dem.exchange/trade/fees/fee-distribution.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.
