> For the complete documentation index, see [llms.txt](https://docs.alphafi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphafi.xyz/lend.md).

# LEND

- [Overview](https://docs.alphafi.xyz/lend/overview.md): AlphaFi Lend is a decentralized money market protocol built on Sui. It enables users to supply assets to earn interest or borrow assets against their collateral.
- [Supply & Withdraw](https://docs.alphafi.xyz/lend/supply-and-withdraw.md)
- [Borrow & Repay](https://docs.alphafi.xyz/lend/borrow-and-repay.md): Borrowing on AlphaFi Lend allows you to access liquidity without selling your assets. You can borrow against supplied collateral and repay at any time.
- [Liquidations](https://docs.alphafi.xyz/lend/liquidations.md): Liquidations are a critical mechanism that keeps AlphaFi Lend solvent. When a position becomes undercollateralized, external liquidators can repay part of the debt and receive collateral at a discount
- [Assets & Risk Parameters](https://docs.alphafi.xyz/lend/assets-and-risk-parameters.md): Each asset on AlphaFi Lend has unique risk parameters that determine how it can be used as collateral and borrowed. These parameters reflect the asset's volatility, liquidity, and overall risk profile
- [Interest Rates](https://docs.alphafi.xyz/lend/interest-rates.md): AlphaFi Lend uses dynamic interest rates that automatically adjust based on market conditions. This ensures efficient capital allocation and maintains healthy liquidity levels.
- [Portfolio](https://docs.alphafi.xyz/lend/portfolio.md): The Portfolio page provides a complete view of your lending position, earnings, and transaction history.


---

# 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://docs.alphafi.xyz/lend.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.
