> For the complete documentation index, see [llms.txt](https://docs.brahma.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brahma.fi/brahma-accounts/brahma-pro/in-app-features/lending.md).

# Lending

The **In-App Lending** feature in Brahma allows you to seamlessly lend and borrow funds on Aave, without leaving the Brahma interface. You can manage your lending positions efficiently, performing multiple operations and signing them in a single transaction, all while tracking the changes to your position in real-time.

#### How It Works

* **Lend and Borrow on Aave**: Open and manage Aave lending positions directly within Brahma account. You can supply assets to earn if you don’t have an existing position, or borrow against your collateral if you already do.
* **Multiple Actions in One Transaction**: Batch multiple actions—such as supplying, borrowing, repaying, and withdrawing—into a single transaction for greater efficiency. Brahma account integrates these actions seamlessly, allowing you to execute them with one signature.
* **Real-Time Position Updates**: As you adjust your lending and borrowing actions, Brahma account updates your position panel in real time, allowing you to simulate how each action will affect key metrics like your health factor, APY, and remaining borrow power.

#### Key Features

* **Simulate Before Signing**: Before committing, you can simulate the outcome of your actions to see exactly how they will affect your position.
* **Direct Interaction with Aave**: All transactions are executed directly on Aave’s smart contracts, ensuring that your Brahma account remains the owner of your positions without any intermediaries.
* **Monitor Key Metrics**: Stay informed by tracking essential position metrics such as your **Health Factor**, **Borrow APY**, and **Supply APY**. These metrics are updated as soon as you make changes.

### Lending Actions

For lending operations, Brahma charges a 0.1% fee on batched actions, which is already factored into the displayed quote. You can find a complete breakdown of all fees for each feature[ here](/others/pricing-and-fees.md).

#### Execution Fee

Brahma charges a 0.1% fee for in-app lending transactions from the Lending tab. You can find a complete breakdown of all fees for each feature [here](/others/pricing-and-fees.md).


---

# 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.brahma.fi/brahma-accounts/brahma-pro/in-app-features/lending.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.
