Referrals
Get fee discounts and earn rewards through the GMX referral program.
How it works
The GMX referral program lets you earn rewards when traders you refer open or close positions on GMX V2. To participate as an affiliate, create a referral code and share your referral link.
To create a referral code:
- Go to the Referrals page.
- Select the Affiliates tab.
- Enter a referral code using letters (A–Z, a–z), digits (0–9), or underscores. Codes are case-sensitive and can be up to 20 characters long.
- Submit the transaction to register the code on-chain.
You must create your referral code separately on each network (Arbitrum and Avalanche) to earn rewards on that network.
Once your code is registered, copy your referral link from the Referrals page. The link format is:
https://app.gmx.io/#/trade/?ref=your-code
Share this link on any platform. When a trader opens the link, your referral code is stored in their browser. The code is written permanently to the contract the first time they create an order. From that point on, the trader receives a fee discount and you earn rewards — both are applied automatically.
The referral program is subject to change as determined by GMX token holders. The full referral terms are available on the GMX website.
Claiming rewards
Rewards in the referral program work differently depending on whether you're a trader receiving discounts or an affiliate earning rewards.
V2
Traders receive fee discounts automatically. The discount is deducted from the position fee at trade execution.
Affiliates accumulate rewards on every trade made by their referred traders. Rewards accrue per market in the collateral token of each market. You can claim them at any time from the Referrals page using the "Claimable rebates" card.
V1 (historical)
V1 trading is no longer active. No new V1 referral rewards are earned. Historically, V1 rewards and discounts were distributed as airdrops — ETH on Arbitrum and AVAX on Avalanche — every Wednesday. Your past V1 distribution history remains viewable on the Referrals page, labeled "V1 airdrop."
Tiers
The referral program uses a tier system to prevent gaming through self-referrals, ensuring affiliates receive rewards for the traders they brought to the platform.
| Tier | Trader discount | Affiliate reward |
|---|---|---|
| 1 | 5% | 5% |
| 2 | 10% | 10% |
| 3 | 10% | 15% |
Anyone can create a Tier 1 code. To upgrade to Tier 2 or Tier 3, your account must meet the following weekly thresholds:
| Tier | Active users | Combined volume |
|---|---|---|
| 2 | 15+ | $5M+ |
| 3 | 30+ | $25M+ |
If your account meets these criteria, send a DM to @GMXPartners to request an upgrade. Wallet providers and other protocols are also eligible for Tier 2 and Tier 3 rewards.
Rewards and discounts apply to opening and closing fees for leverage trading. They don't apply to borrow fees or funding fees.
Tier 3 affiliates receive their 15% reward in the market's collateral token.
esGMX rewards
Tier 3 affiliates previously received a weekly esGMX bonus via the fee distributor, capped at 5,000 esGMX tokens per week. This distribution ended on February 4, 2026.
If you received esGMX through the referral program before it ended, you can still vest it using the Affiliate vault. To access it, open the vesting modal from the esGMX card on the Earn page and select the Affiliate vault tab. Unlike standard vesting, the Affiliate vault doesn't require a paired GMX or GLP deposit.
Transferring a referral code
To transfer ownership of a referral code to a new address, you interact directly with the ReferralStorage contract through a block explorer. There's no frontend UI for this action.
Transferring a referral code is permanent. Once transferred, you lose ownership and only the new owner can transfer it further. There is no way to reclaim the code without the new owner's cooperation. Verify the destination address carefully before submitting.
The ReferralStorage contract addresses are:
- Arbitrum:
0xe6fab3f0c7199b0d34d7fbe83394fc0e0d06e99d - Avalanche:
0x827ed045002ecdabeb6e2b0d1604cf5fc3d322f8
To transfer a code on a given network:
- Convert your referral code to its
bytes32encoding using a tool like DEVoven with the "Append Zeros" option checked. For example, the codecodeencodes to0x636f646500000000000000000000000000000000000000000000000000000000. - Open the
ReferralStoragecontract link for your network from the list above. - Go to the "Write Contract" tab.
- Connect the wallet that currently owns the referral code.
- Expand the
setCodeOwnerfunction. Enter thebytes32value from step 1 in the_codefield and the destination wallet address in the_newAccountfield. - Submit the transaction by clicking "Write."