> For the complete documentation index, see [llms.txt](https://docs.babydogeswap.com/babydoge-docs-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.babydogeswap.com/babydoge-docs-1/products/swap/token-swaps-v2.md).

# Token Swaps V2

**Token swaps** on BabyDogeSwap are a simple way to swap one BEP-20 token for another via automated liquidity pools.

BabyDogeSwap utilizes a custom engineered routing solution to offer its users some of the best prices available on-chain by leveraging other prominent exchange's liquidity sources.

**BabyDoge Router**, **Deflationary Router (Smart Router)**,  and **Bonus Router**.

<div data-full-width="true"><figure><img src="/files/z9e9MqdaglYVvPXnVCtB" alt="" width="563"><figcaption><p>Bonus Router</p></figcaption></figure> <figure><img src="/files/pMVeO8pOB3GGhbkY0aZ0" alt="" width="563"><figcaption><p>BabyDoge Router</p></figcaption></figure> <figure><img src="/files/KwDM4xKyLnqBdhDbl0ZG" alt="" width="563"><figcaption><p>Deflationary (Smart) Router</p></figcaption></figure> <figure><img src="/files/sZy5p2ff0Xr9A3oim6Yz" alt="" width="563"><figcaption><p>Portal Router</p></figcaption></figure></div>

Lets quickly cover the important details and difference between each router:

* **BabyDoge Router -** Our bread and butter, the first AMM with lowered fees for holders. Down to 0%! See token holding requirements below.

<figure><img src="/files/PMcfrb9XioBI9MOj8OHd" alt="" width="188"><figcaption></figcaption></figure>

* **Deflationary Router (Smart Router) -** The "Smart Router" seen in the UI is representative of our deflationary router. This means the trade is being facilitated through another exchange's liquidity. A portion of this swap will be burned, contributing to the traded token's deflationary rate.

<figure><img src="/files/LEwo9mpQRyEnbHGBTz6n" alt="" width="188"><figcaption></figcaption></figure>

* **Bonus Router -** As a rare treat, estimated 5% of swaps, trades are upgraded to the bonus router.  This means the trade has qualified for an automatic arbitrage opportunity, supplied by [Wallchain](https://www.wallchain.xyz/), the trade routing is automatically upgraded to be moved across different liquidity sources to capture the arbitrage.\
  \&#xNAN;*Note that BONUS swaps have an increased gas cost and are difficult to estimate consistently due to the complex nature of the transaction.*

<figure><img src="/files/MfkZEPl02ThuweCOxKZ8" alt="" width="188"><figcaption></figcaption></figure>

* **Portal Router -** for taxed tokens. This router is selected when wallet have a discount for selected OUT token in [Burn Portal](/babydoge-docs-1/products/burn-portal.md) contract.<br>

<figure><img src="/files/55dcW44UzwgsduDTQkRv" alt="" width="175"><figcaption></figcaption></figure>

\
\
When you make a token swap (trade) on the exchange's **BabyDoge Router** you will pay a **0.3% swap fee**, which is broken down as follows:

**0.2%** - Returned to Liquidity Pools in the form of a fee reward for liquidity providers.

**0.1%** - Sent to the BabyDogeSwap Treasury.

### Hold BabyDoge Coin and pay Lower Fees&#x20;

| Held Amount      | Discount |
| ---------------- | -------- |
| 10 Billion BDC   | 10%      |
| 100 Billion BDC  | 15%      |
| 500 Billion BDC  | 20%      |
| 1 Trillion BDC   | 30%      |
| 10 Trillion BDC  | 50%      |
| 100 Trillion BDC | 70%      |

When you make a token swap (token **IN** -> ... -> token **OUT**) through the **Deflationary Router (Smart Router)**, the fee details are as follows.

* If both token **IN** and **OUT** are whitelisted - treasury collects **0.5%** of token **IN**
* If only token **OUT** is whitelisted - burn **0.25%** of token **IN** and:
  * If there's a path to **WBNB** available - swaps 0.25% to **WBNB** and transfers to treasury
  * If there's NO path to **WBNB** available - swaps 0.25% to token **IN** and sends to treasury
* If only token **IN** is whitelisted - treasury collects **0.25%** of token IN, while **0.25%** of token **IN** are swapped to token **OUT** and burned&#x20;
* In the case that neither **IN** or **OUT** tokens are whitelisted
  * If there's a path to **WBNB** available - burn **0.25%** token **OUT** and treasury swaps **0.25%** to **WBNB**
  * If there's NO path to **WBNB** available - burn **0.25%** token **OUT** and **0.25%** token **IN**

When you make a token swap through the **Bonus Router**, the fee details are as follows.

Normal exchange fee applied, if this is a trade based the **BabyDoge Router or the Deflationary Router (Smart Router).** [Wallchain](https://www.wallchain.xyz/) also collects a small share of the total arbitrage.

**60%** of total arbitrage is reserved for you, the user.

**40%** of total arbitrage is collected for the BabyDoge treasury.


---

# 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://docs.babydogeswap.com/babydoge-docs-1/products/swap/token-swaps-v2.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.
