- A global referral code owned by a wallet.
- A permanent, chain-scoped fee-earning binding from a referred wallet to a code.
Referral event is not a substitute for the permanent fee-earning binding.
Referral code
Code creation is challenge-based. It is not Bearer-token authentication.
Permanent fee-earning binding
Ink also exposes:
Ink binding flow
Request a challenge:challengeId, expiresAt, signingDomain, normalized referralCode, nonce, and the exact message to sign.
After personal_sign, submit all challenge fields unchanged:
Accounting fields
Dashboard responses keep states separate, including pending, uncertain, finalized, accrued, claimable, reserved, and paid amounts. Do not collapse all of them into “earned.” Keep raw amount strings anddataThroughBlock.
Call these endpoints from your backend. They use chain context, rate limits, and no-store responses.