> For the complete documentation index, see [llms.txt](https://docs-kasplex.gitbook.io/krc20/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-kasplex.gitbook.io/krc20/protocols/amm-v3.md).

# AMM V3

KRC-20 integrates an **AMM V3** protocol as protocol-level decentralized exchange (DEX) infrastructure, providing KRC-20 assets with **permissionless**, **real-time pricing** and **swap execution**. AMM V3 is deeply coupled at the protocol layer with the Kaspa-based RTD-Rollup architecture, inheriting Kaspa’s ultra-high BPS and DAG-parallel processing advantages — namely **real-time finality** and **MEV resistance** — so that high-frequency swapping and price discovery can occur in a fair and transparent environment.

The protocol adopts a liquidity design oriented toward professional market making, enabling more granular capital efficiency and more flexible liquidity management strategies. Liquidity providers (LPs) can custom price ranges and position parameters to concentrate their capital, providing greater amounts of liquidity at desired prices. Traders, in turn, benefit from swaps executed with **lower slippage** and **more stable pricing**.

Fees generated from swap transactions (denominated in the tokens of the trading pair) are 100% distributed as LP rewards. All trades and liquidity pool state updates are computed in real time by the **Lyncs engine**, while the RTD-Rollup mechanism ensures that global state remains verifiable, traceable, and tamper-evident.


---

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

```
GET https://docs-kasplex.gitbook.io/krc20/protocols/amm-v3.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.
