# Pref Swaps

## Pref Swap & Tokens

**Pref Swap** is one of the most powerful features of WFN V2. It allows you to automatically trade your earned rewards for other tokens on the Waves blockchain

### How it Works

When the WFN V2 engine processes your rewards, it checks your on-chain preferences. If you have specified a "Target Token," the system will automatically route your rewards through a Decentralized Exchange (DEX) to swap them before sending them to your wallet

#### Supported Swaps

You can set up to 3 token pairs for your rewards:

1. **WAVES** → Your Target Token (e.g., USDT, WX)
2. **LP Tokens** → Your Target Token (e.g., WAVES)
3. **UNIT Tokens** → Your Target Token (e.g., WAVES)

#### Personalized DEX Selection

At WFN, we believe in full control. While our system defaults to a smart routing approach to find you the best rate, **each user and project owner has the right to choose exactly which exchange their tokens are swapped through**

If you have a preference for a specific platform's liquidity or features, you can customize your settings to prioritize:

* **Puzzle Swap:** Our primary aggregator for the best overall rates across the ecosystem.
* **WX.Network:** For deep liquidity and native Waves ecosystem tokens
* **Swop.Fi:** For efficient automated market making and specific token pairs

#### Slippage & Fallback

* **Slippage Tolerance:** We use a 1% slippage tolerance by default to protect your trades from sudden price swings

{% hint style="warning" %}
**Disclaimer:** WFN does not guarantee specific exchange rates or price impacts for any swaps. While we monitor the system to ensure it functions correctly, we do not take responsibility for market-driven fluctuations in rates or liquidity on the DEXes
{% endhint %}

* **Automatic Retries:** If a swap fails during a processing cycle (e.g., due to temporary network congestion or price spikes), the system doesn't give up. It will **automatically retry the swap in the next cycle**
* **Fallback Exchange:** If a swap fails on your primary chosen DEX, our system can automatically attempt to route the swap through a **fallback exchange** (like Puzzle Swap) to ensure the trade is completed
* **Final Reward Fallback:** If the error persists after multiple retries or if the volatility remains too high, the system will eventually fallback to sending you the **original reward token** (e.g., sending you WAVES instead of the USDT you wanted). This is a safety measure to ensure you **never lose your rewards**


---

# 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://help.wavesfunnynode.com/documentation/prefs/pref-swaps.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.
