Setup widget referral
If you are a unique referral you can specify your referral as a parameter in the widget’s creator functioncreateSwapWidget
To pass the referral we have a
widgetReferral
configuration parameter
You can do it in a similar way:
Setup widget custom fees
If you are an partner ofswap.coffee
and have a unique referral you can pass custom fee settings directly into the widget configuration
- You can read more about the concept of partner custom commissions 👉 here
To pass the referral we have a
customFeeSettings
configuration parameter
You can do it in a similar way:
- So, passing instead of
TEST_WIDGET_REFERRAL
your referral the widget will recognize your referral(only if it is valid)
and share the profit with the widget integrator.
ACTIVE referral
and complete the custom fee settings
.
💡 Tip: If you are interested in creating a unique referral for your integration, contact 👉 Lizard.