# Understanding the redemption mechanism

Redemptions act as a last resort protection of $fxUSD's peg. They should only happen if the other [Advanced Peg Protection Mechanisms](/fx-docs/risk-management/advanced-peg-protection-mechanisms.md) fail. For that reason, the redemption feature is only possible when fxUSD is deppeged according to the [Risk parameters](/fx-docs/risk-management/risk-parameters.md).\
\
The redemption mechanism ensures that fxUSD can be redeemed for $1 worth of fxUSD's collateral.\
\
The redeemed collateral is taken by reducing the debt xPOSITIONS, starting with the most leveraged one and not exceeding a certain proportion of each position before moving to the next leverage level.\
\
It gives an incentive to buy discounted fxUSD and redeem it for its collateral for a profit while restoring fxUSD's peg.\
\
The redemption can be triggered using the following [contract](https://etherscan.io/address/0x250893CA4Ba5d05626C785e8da758026928FCD24#writeProxyContract). Please note that a redemption fee is applied.\
\
Redemption fees and the maximum proportion of an xPOSITION to be redeemed can be found here.<br>

{% content-ref url="/pages/XU8FjHZWoEUZRLXHNMtn" %}
[Risk parameters](/fx-docs/risk-management/risk-parameters.md)
{% endcontent-ref %}


---

# 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://fxprotocol.gitbook.io/fx-docs/risk-management/advanced-peg-protection-mechanisms/understanding-the-redemption-mechanism.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.
