# Referrals

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

## Referrals

How TrenchBot referral program works.

TrenchBot has an optional referral system to allow users an opportunity to earn a percentage of their friends trading fees.\
\
Users can access their referral code, referral link and a referral graphic by using the /start command.\
\
Users can view their earnt referral fees, number of referred individuals along with generate a unique referral graphic with their code by using the /home command and clicking the referrals button.

***

## Peer 2 Peer Referrals

Referrals allow users to invite individuals to use TrenchBot and earn a percentage of their trading fees from doing so.

There are no limits to the amount of people that can be referred to use TrenchBot, however there are two levels to referrals, meaning staggered rewards can be earnt from referrals by referrals.

Primary Layer would be User 1, a user cannot earn referral fees from themselves.\
\
Secondary Layer would be someone User 1 referred, where User 1 would earn 16% of their trading fees.

Tertiary Layer would be someone referred by User 2, where User 1 would earn 8% of their trading fees.

In the instance above, Secondary Layer would earn 16% of the Tertiary Layer as its a direct referral.

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


---

# 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.trenchbot.io/user-guide/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.
