getReferralUrl(walletAddress)

Retrieves the referral URL for a given wallet address.

To be deprecated

This method will be deprecated in upcoming versions of the SDK. Please use the ChainvineUser.referral.url method instead.

Params

Param
Required
Description

walletAddress

required

the wallet of the user to general a referral link for

Response

ReferralUrlResponse

Type
Description

url

String

the referral URL for the given wallet address

wallet_address

String

the wallet address linked to the referral URL

new_user

Boolean

indicates whether the supplied wallet address is a new user

Last updated