# Liquidity

### Withdrawal Fee

The withdrawal fee is based on the size of the liquidity withdrawn and is charged upon withdrawal.

1. Fee Calculation: Withdraw fee = Burn SLP Amount \* SLP Price \* Withdrawal Rate
   1. Withdrawal Rate = 0.1%.
   2. The fee will be collected at the end of each Epoch.
2. Collection Method: Deducted from the USDX obtained by the user from withdrawing liquidity.
3. Fee Collector: Vault.
4. No fee is charged for adding liquidity.


---

# 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.substancex.io/perpetual/fees/liquidity.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.
