Skip to main content

How It Works

When someone signs up and trades using your referral link, you earn 20% of their taker fees for 90 days from the date they register the referral.
  • Earnings are credited in USDC directly to your engine balance
  • There is no cap on the number of users you can refer
  • The 90-day window starts when the referred user calls POST /referral/register
In the Vela dashboard, navigate to the Referrals section. Your referral URL is:
Share this link. When a new user connects their wallet via this URL, the referral code is pre-filled in their registration flow.

Registering a Referral

A referred user registers the relationship by calling:
Request:
The signature message is vela:referral:{referred}:{referrer}:{nonce}, signed by the referred user. Response:

Viewing Your Earnings

Response:
total_earnings_usdc is in fixed-point (divide by 1,000,000 for display).

Leaderboard

The trading leaderboard at /leaderboard ranks all traders by 30-day volume. High-volume referrals may drive significant leaderboard movement.

Rules

  • One referrer per user. A user can only have one referrer, and it cannot be changed after registration.
  • Immutable once set. The referral relationship is recorded in the engine state and cannot be overridden.
  • Self-referral not allowed. You cannot refer yourself.
  • 90-day window. Earnings stop after 90 days from the referral registration date. The referred user remains a valid user; only the fee-sharing stops.
  • Taker fees only. Rebates earned by the referred user as a maker do not affect your referral earnings. The split applies only to taker fees they pay.

Signing Referral Registration (Python)