Retrieve comprehensive referral information for a specific user, including referrer details, referral rewards, volume metrics, and referrer state with referred users data.
info
endpoint with type: "referral"
retrieves comprehensive referral information for a specific user on the Hyperliquid exchange. This endpoint provides detailed data about referral relationships, rewards, volume metrics, and referrer status, enabling thorough analysis of referral program participation and performance.
type
(string, required) — The request type. Must be "referral"
to retrieve referral information.user
(string, required) — Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.referredBy
— Information about who referred this user (if applicable)cumVlm
— Cumulative volume traded by this user as a stringunclaimedRewards
— Amount of unclaimed referral rewards as a stringclaimedRewards
— Amount of claimed referral rewards as a stringbuilderRewards
— Builder rewards earned as a stringreferrerState
— State information if this user is a referrerrewardHistory
— Legacy reward history (now returned in nonFundingLedgerUpdate)referredBy
object contains:
Referrer information:
referrer
— Address of the user who made the referralcode
— Referral code that was used for the referralreferrerState
object contains information if the user is acting as a referrer:
Referrer status:
stage
— Current stage of the referrer (e.g., “ready”, “pending”)data
— Detailed referrer informationcode
— This user’s own referral codereferralStates
— Array of users referred by this userreferralStates
contains:
User identification:
user
— Address of the referred usertimeJoined
— Timestamp when the user joined via referral (milliseconds)cumVlm
— Cumulative volume traded by the referred usercumRewardedFeesSinceReferred
— Total fees that generated rewards since referralcumFeesRewardedToReferrer
— Total fees rewarded to the referrer from this userreferralStates
arrayinfo
endpoint with type: "referral"
is essential for applications that need to:
Successful response with referral information
The response is of type object
.