> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.alphafi.xyz/lend.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
