# How to - Lending and Borrowing

![Lending and borrowing guide](/files/eYUex64TpEwnOebDwf29)

![Supplying assets](/files/4amKo7HX8KZChpmxWcpH)

1. Go to markets and select and asset under Supply markets
2. Approve the asset selected.
3. Input the quantity of tokens to supply.
4. Shows teh total APY to supply this asset.
5. Toggle this to enable asset to be used as collateral for borrowing.

![Borrowing assets](/files/zpR9ieVGkhk753IIX0ML)

1. Go to markets and select an asset under Borrow markets.
2. Input the quantity of tokens to borrow.
3. Click to borrow the max 75% of a collateral provided.
4. Shows the total APY for borrowing this asset.
5. Shows the total borrow limit used up after borrowing max percentage.

![Withdrawing assets](/files/w1BY4NkqjxSQQz4rrzaA)

1. Skip to step 4 if you did not borrow any asset.
2. Go to markets and select an asset under Borrow markets to repay.
3. Input the quantity of tokens to repay.
4. Go to markets and select an asset under Supply markets to withdraw.
5. Input the quantity of tokens to withdraw.

![Network](/files/EJsuO2xVmCifR7pg94p4)

![Profile](/files/HQG1yGnHOT37yctKRq7C)

{% hint style="warning" %}
**Please take notice that Lending and Borrowing function of SpiritSwap is a product of Ola Finance**\
\
Any inquiries should be redirected to Ola Finance site and team, user's preference is advised.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.silverswap.io/spiritswap-v2/soullys-how-to/how-to-lending-and-borrowing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
