> For the complete documentation index, see [llms.txt](https://kaspacom.gitbook.io/kaspacom-defi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kaspacom.gitbook.io/kaspacom-defi/dex/liquidity-pools.md).

# Liquidity Pools

[Provide liquidity on KaspaCom](https://dev-defi.kaspa.com/swap/create-liquidity) and support the ecosystem. By depositing tokens into a pool, you enable swaps and earn a share of trading fees.

## Why Provide Liquidity?

* **Earn Fees** → Collect a share of every swap (default fee: 0.3%).
* **Strengthen Kaspa DeFi** → More liquidity = smoother trades.
* **Support Token Markets** → Help new and existing tokens grow.

\
When you click **Pools**, two options appear:

* **Create Position** → Add liquidity to a pool.
* **View Positions** → Track and manage your active liquidity.

### Create Position

Providing liquidity is a two-step process:

#### Step 1 — Select Token Pair

* Choose the tokens you want to provide liquidity for.
* You can choose from all available tokens on the Kaspa BlockDAG
* The pool will display the **current earned fees** (0.3%).

#### Step 2 — Set Deposit Amounts

* Enter the amounts of each token you wish to deposit.
* The interface automatically calculates the required matching value.
* You can use **Max** to deposit your full balance for one side.
* Click **Review** to confirm before finalizing your position.

### View Positions

* Displays all the pools you are currently providing liquidity in.
* Shows deposited token amounts, earned fees, and pool share.
* From here, you can manage or remove liquidity at any time.

⚡ By adding liquidity, you support KaspaCom’s AMM while earning a share of swap fees.


---

# 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://kaspacom.gitbook.io/kaspacom-defi/dex/liquidity-pools.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.
