linkToReferrer(referrer)
Link a user to a given referrer - this creates a relationship between the two on ChainVine, allowing us to attribute rewards to the referrer based on the user's activity
Params
Param
Required
Type
Description
campaign.id
required
string
the id of the program/campaign requirement belongs to
referrer
required
string
the referrer to link the user to
Examples
Last updated