# Pool model

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

The Auto Market Maker (AMM) is the core of pool models and liquidity pools, instead of using the Oracle price, AMMs determine the prices by the algorithm.

Pools are defined as assets that have no direct correlation in price, examples are Bitcoin (BTC) and Ethereum (ETH). The price of ETH has no relation to the price of BTC.

The Pool is built for general-purpose tradings and utilizes the constant product algorithm:

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

and popularized by Uniswap V2 as:

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

The constant, represented by “k” means there is a constant balance of assets that determines the price of tokens in a liquidity pool.&#x20;

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


---

# 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.blinkswap.xyz/docs/dex/pool-model.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.
