> For the complete documentation index, see [llms.txt](https://qi-blockchain.gitbook.io/qie-oracle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://qi-blockchain.gitbook.io/qie-oracle/use-cases/use-cases-for-qie-oracle-in-defi.md).

# 🔑 Use Cases for QIE Oracle in DeFi

The **QIE Oracle** plays a crucial role in powering decentralized finance (DeFi) applications by providing **accurate and reliable on-chain asset prices**. Here are some primary use cases where the oracle is essential:

***

#### 🏦 Lending & Borrowing Platforms

* **Purpose:** Determine the value of collateral assets to calculate safe loan-to-value (LTV) ratios.
* **Example:** When a user deposits BTC as collateral, the oracle supplies the current BTC price to accurately compute borrowing limits and liquidation thresholds.

***

#### 🔄 Decentralized Exchanges (DEXs)

* **Purpose:** Facilitate token swaps, liquidity provisioning, and automated market maker (AMM) price calculations using live market data.
* **Example:** Swap ETH for QIE tokens at the current exchange rate fetched from the oracle, ensuring fair and up-to-date pricing for traders.

***

#### 💰 Stablecoins & Synthetic Assets

* **Purpose:** Peg tokens to real-world assets like gold-backed tokens (e.g., XAUt by Tether) or cryptocurrencies.
* **Role of Oracle:** Ensures the peg’s accuracy by providing timely and trustworthy price feeds, maintaining stable and reliable valuations.

***

QIE Oracle’s reliable pricing infrastructure empowers these DeFi building blocks, enabling secure, transparent, and efficient financial products on-chain.
