# How It Works

* When a new user signs up using your referral link, their wallet address is registered on-chain as your referral.
* The smart contract tracks all trading activity of your referrals and calculates your commission based on the trading fees they generate.
* If you have staked $5,000 worth of YMTA, the smart contract automatically applies the increased commission rate of 35% (Tier 1) and 10% (Tier 2).
* Referral commissions accrue daily and are stored on-chain, ensuring full visibility of pending rewards.

#### Claiming Rewards

* Referral rewards are updated daily on-chain.
* You can claim your rewards at any time through the Yamata Referral Dashboard, provided your unclaimed accumulated rewards have reached the $20 minimum claim threshold.
* Once claimed, the smart contract will transfer your YMTA rewards directly to your connected wallet.

All referral tracking, staking verification, and commission distribution are computed based on on-chain events, ensuring that rewards are processed accurately and securely.

**In Summary**: The Yamata Referral Program rewards you for helping us grow the exchange. By sharing your referral link, you can earn up to 20% of your direct referrals’ trading fees (or 35% if you stake YMTA) and 5% from second-tier referrals (rising to 10% with staking). These commissions are paid in YMTA for up to 12 months per referral. Make sure your invitees trade at least $100 to qualify, and remember you’ll need $20+ in rewards to claim. Keep an eye on your referral dashboard to track progress and claim earnings. Yamata is committed to running a transparent, efficient referral program — happy referring!


---

# 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.yamata.io/referral-program/how-it-works.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.
