> For the complete documentation index, see [llms.txt](https://docs.untitledbank.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.untitledbank.co/how-to/leverage-repay-with-collateral.md).

# Leverage / Repay with Collateral

### **What Is Leverage and How Does It Work?**

A one-click strategy that automates the borrowing and re-depositing process. You can increase exposure to a greater-yield asset by depositing the additional collateral.

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

1. **Go to Borrow Page and choose the market you want to borrow and leverage.**

<figure><img src="/files/6dUOiVpDwnyh12v7XLgE" alt=""><figcaption></figcaption></figure>

2. **Choose the ‘Leverage’ feature at the top of Actions bundles.**

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

3. **Insert the amount of asset you want to deposit(collateralize) and choose the leverage amount.**

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

4. **Approve transactions and check your leveraged position.**

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

### Repay with Collateral (Deleverage)

If you want to close your leveraged positions - you can either repay with funds from your wallet, or **repay with your collateral.**&#x20;

By choosing 'Repay with collateral' option, the collateral is withdrawn and swapped into the borrowed token to be repaid.

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


---

# 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.untitledbank.co/how-to/leverage-repay-with-collateral.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.
