Aller au contenu

referralInteraction

Ce contenu n’est pas encore disponible dans votre langue.

referralInteraction(client, args?): Promise<"success" | "idle" | "processing" | "no-referrer" | "self-referral" | undefined>

Defined in: actions/referral/referralInteraction.ts:22

Resolve the referral context in the current URL against the wallet status

FrakClient

The current Frak Client

ProcessReferralOptions

Some options for the referral interaction

Promise<"success" | "idle" | "processing" | "no-referrer" | "self-referral" | undefined>

A promise with the resulting referral state, or undefined in case of an error

This function will automatically handle the referral interaction process

processReferral for more details on the automatic referral handling process