# Flash Loans

Flash Loans on XOXNO let users borrow tokens without providing any collateral. The catch? The borrowed amount, plus a small fee, must be repaid within the same blockchain transaction. If repayment doesn’t happen, the transaction is reversed, as though it never occurred.

***

**How Flash Loans Work**

* Executed and settled within a **single block** on the **MultiversX blockchain**.
* All actions—borrowing, using funds, and repayment—happen **simultaneously**.
* The **receiver of the Flash Loan** must be a smart contract located on the **same shard** as XOXNO’s contract.

***

**Advanced Use Cases**

1. **Arbitrage:**
   * Exploiting price differences across platforms for profit.
2. **Debt Optimization:**
   * Swapping or repaying loans efficiently in one transaction.
3. **Complex Strategies:**
   * Leveraging temporary liquidity for advanced DeFi operations.

***

**Why Flash Loans Are Unique**

* **Risk-Free for the Protocol:**
  * The blockchain ensures repayment within the transaction, or the loan fails.
* **Technical Requirements:**
  * Flash Loans are typically used by **developers** or **experienced users** due to the complexity of implementation.


---

# 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.xoxno.com/xoxno-ecosystem/lend-and-borrow/flash-loans.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.
