Referral Code
Query the referral code of a provided subaccount.
Last updated
Query the referral code of a provided subaccount.
Last updated
Note: only valid Vertex subaccounts have referral codes.
1200 requests/min or 200 requests/10secs per IP address. (weight = 2)
See more details in API Rate limits
Parameter | Type | Required | Description |
---|---|---|---|
Note:
null
is returned for the referral_code
if the subaccount doesn't exist i.e: has not deposited into Vertex.
All subaccounts of the same wallet share the same referral code.
Field name | Description |
---|---|
subaccount
string
Yes
A bytes32
sent as a hex string; includes the address and the subaccount identifier.
referral_code
Unique referral code associated to the provided subaccount.