referralConversion([payload,])
Sends referral conversion event.
Warning - May 25, 2023
This method is deprecated, and will be sunset in upcoming versions of the SDK.
Before implementing this approach, be sure to have whitelisted your domain.
Payload
wallet_address
required
String
the wallet of the user being referred
chain_prefix
optional
String
a wallet address prefix - provide this if you are passing in a wallet address
amount
required
Number
an amount to pass in
campaign_id
required
String
usd_value
optional
number
The USD Value of the token(s) or value being transferred, please supply this if available
transaction_hash
optional
String
a transaction hash to associate with the conversion
token_address
optional (defaults to Ethereum if not provided)
String
the token address of the token that was transfered
fee
optional
String
the usd value of the fee earned from the transaction
external_identifier
optional
String
An external identifier associated to the wallet_address
in your system
Response
Last updated