> For the complete documentation index, see [llms.txt](https://docs.mytonswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mytonswap.com/referral.md).

# Referral

This document explains how our referral system works and how you can benefit from inviting new users to our platform. By participating in our referral program, you can earn a share of the transaction fees generated by the users you invite, as well as the users they invite, up to five levels deep. This is a great way to increase your earnings simply by sharing your unique referral link.

<figure><img src="/files/1LC8PGJWOXP1cHeTcHNH" alt=""><figcaption></figcaption></figure>

### How It Works

Our referral program is a partnership with our users to earn more by inviting new users to our platform. Here's a step-by-step guide on how the referral system works:

1. **Generate Your Referral Link**: When you join our Telegram [Swap bot](/swap-bot/getting-started.md) Or [Trading Bot](/trading-bot/getting-started.md), click on the referral button to get your unique referral link that you can share with your friends and contacts.
2. **Invite New Users**: Share your referral link with others. When someone uses your link to join and start trading on our platform, they become your Level 1 referral.
3. **Earn a Share of Fees**: Every time a referred user makes a trade, you'll earn a percentage of the transaction fee. The percentage you earn depends on the referral level.

### Referral Levels and Earnings

Our referral program has five levels. Each level corresponds to the depth of the referral relationship, and each level has its own percentage of the transaction fee that you can earn.&#x20;

* **Level 1 (Direct Referral)**: When you directly invite someone using your referral link, you earn 10% of their transaction fees.
* **Level 2**: When a Level 1 referral invites someone, you earn 8% of the transaction fees from this Level 2 referral.
* **Level 3**: When a Level 2 referral invites someone, you earn 4% of the transaction fees from this Level 3 referral.
* **Level 4**: When a Level 3 referral invites someone, you earn 2% of the transaction fees from this Level 4 referral.
* **Level 5**: When a Level 4 referral invites someone, you earn 1% of the transaction fees from this Level 5 referral.

### Boosting Your Referral Rewards

To maximize your earnings, you can use [XP](/xp-program.md) to increase your referral percentage up to 35%. This is about three times more than the standard referral rate, meaning you'll receive a higher share of the trade fees from users you've referred. Your XP will be converted to TON at this higher reward level, significantly increasing the value of your referrals.

### Example Scenario

To illustrate how the referral program works, let's look at an example:

* You invite Alice (Level 1). Alice makes a trade and pays a transaction fee. You earn 10% of that fee.
* Alice invites Bob (Level 2). Bob makes a trade and pays a transaction fee. You earn 8% of Bob's transaction fee.
* Bob invites Carol (Level 3). Carol makes a trade and pays a transaction fee. You earn 4% of Carol's transaction fee.
* Carol invites Dave (Level 4). Dave makes a trade and pays a transaction fee. You earn 2% of Dave's transaction fee.
* Dave invites Eve (Level 5). Eve makes a trade and pays a transaction fee. You earn 1% of Eve's transaction fee.

### Direct Integration for Projects

We also offer a direct integration option for those who have projects and want to showcase our TMA directly within their platforms. This allows you to have a referral link that redirects users to our TMA and displays our swap page within your project, without needing to send users to our bot. This seamless integration can help you enhance your project's functionality while earning referral rewards. If you want to know more, please send a message to [@MyTonSwapSupport](https://t.me/MyTonSwapSupport) on Telegram.

### Terms and Conditions

* The referral program is subject to our terms of service and may be modified or terminated at any time.
* Only legitimate and non-fraudulent trades are eligible for referral earnings.
* Referral earnings are credited to your account and can be withdrawn or used for trading on our platform.

Thank you for partnering with us and leveraging this program to maximize your earnings. If you have any questions, feel free to contact our support team. Happy trading!


---

# 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.mytonswap.com/referral.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.
