# StableSwap

Another essential tool for teams, specifically on chains that are fairly new are stablecoins. Stablecoins are one of the most beloved assets in the past few years, theoretically offering users a safety net for their funds when they don’t want to engage into any trading activities, or holding volatile assets. <br>

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

A stable swap offers a reliable and efficient method for users to exchange stablecoins while maintaining price stability and reducing slippage. In order to operate a stableswap, users or developers of a project have to add stablecoins into liquidity pools. These liquidity pools will usually feature several stablecoins such as DAI, USDT, USDC, TUSD and many others. Liquidity providers are incentivized by earning fees from trades performed within those pools. An algorithm ensures that the reserves are always kept intact and balanced for the various stablecoins.

<br>


---

# 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.defibuilder.com/future-modules/stableswap.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.
