# Referrals

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

The [LeoDex Referral](https://leodex.io/referrals) Program allows you to create a unique referral code and earn \~1/3rd of our total affiliate fee. LeoDex charges 0.45% as an affiliate fee on all swaps (one of the lowest in the industry) and when someone uses your referral code, the split becomes:

1. 0.28% to LeoDex
2. 0.12% to You
3. 0.05% discount to the swapper

### How It Works

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

How it works is simple - you create a unique referral ID. That referral ID is then utilized when you refer a user.

When you refer a user and they make their first swap, their public address is now shown as a referral to your unique ID on LeoDex's Referral Dashboard.

Once tied, that referral's affiliate fees are **permanently** tied to your Referral ID. Which means that anytime they come back to LeoDex to swap in the future, you also get credit for those swaps and earn your 1/3rd share of LeoDex's affiliate fees (even if they don't return using your link / ref ID).

### Where Are Affiliate Fees Pooled Before Distribution?

The system we created splits our affiliate fee to two separate addresses when a user swaps using a referral link:

1. The main LeoDex affiliate address - "leo"
2. A new LeoDex Referral-specific affiliate address - "lref"

0.28% gets sent to "leo" and 0.12% gets sent to "lref" on referred swaps. The Referral portion of the affiliate fee is pooled in the lref address until the next distribution.

### How Often Are Payouts?

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

Payouts happen on the 1st and 15th of every single month. They are fully autonomous.

You can see the next payout date on your Referral Dashboard.

### What Do I Earn?

Affiliate fees are paid to referrals in like-kind - which means that what you earn depends on what your referral swapped:

* For Thorchain Swaps, you earn RUNE
* For Maya Protocol Swaps, you earn CACAO
* For ChainFlip Swaps, you earn USDC

The beauty is that you only have 1 unique Referral ID. So you refer in swappers and it doesn't matter if they do 3 swaps on ChainFlip and then 4 swaps on Thorchain and 1 swap on Maya... you'll earn your referral fees in the 3 different cryptos that get paid based on those referrals.

### How to Create a Referral ID

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

To create a referral ID, simply connect your wallet to [https://leodex.io](https://leodex.io/) and then click on the Referrals tab or head directly to <https://leodex.io/referrals>.

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

You'll be prompted to create a unique referral ID.

**Tip:** Referral IDs are a unique code. Once someone else creates a referral ID, you cannot make the same ID. For this reason, we recommend claiming your referral ID sooner than later!

### How to Share a Referral ID

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

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

*share your referral link and it will automatically populate the Ref ID field | or manually enter your ref ID*

Two ways to share your ref ID:

1. Link - available in your dashboard or by editing the ref ID at the end of this link <https://leodex.io/?ref=bank>
2. Ref Code - a user can hit "options" when inputting a swap and manually enter your ref code - think of this like a "Creator ID" used on other platforms to designate who referred you

<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://leodex.inleo.io/web-app/features/referrals.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.
