> For the complete documentation index, see [llms.txt](https://lenfi.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://lenfi.gitbook.io/docs/liquidations.md).

# Liquidations

**Liquidation occurs** **when a borrower's collateral value falls below a certain threshold**, making the loan risky. To protect the system, third-party participants, known as liquidators, can repay the borrower's debt and claim either part or all of the collateral, usually at a discount. As an incentive, liquidators typically receive a 2.5% fee from the collateral for their role in stabilizing the lending pool.

{% hint style="info" %}
Find threshold information [here](/docs/liquidity-pools/collateral.md)
{% endhint %}

In simple terms, the liquidator repays the loan and receives part of the collateral to compensate deb + fee.

### Liquidation threshold

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

The Liquidation Threshold (LT) is a crucial metric that specifies the loan-to-collateral ratio at which a loan becomes subject to liquidation. LT is a key value when determining the health factor:

$$HealthFactor = CollateralValue/DebtValue/LiquidationThreshold$$

Liquidation Threshold is defined at the time of pool creation as a pool [parameter](/docs/liquidity-pools/protocol-parameters.md). In the event of liquidation, the liquidator is expected to swap the acquired collateral asset for the loan asset, which could move the market and result in cascading liquidations. Therefore, a higher LT should be applied to low-liquidity collateral assets, while a lower LT is suitable for more liquid assets.


---

# 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://lenfi.gitbook.io/docs/liquidations.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.
