Affiliate fees
Describes how to configure and receive affiliate fees for both cross-chain and same-chain swaps. Includes platform-specific handling for EVM and Solana.
Last updated
Was this helpful?
Describes how to configure and receive affiliate fees for both cross-chain and same-chain swaps. Includes platform-specific handling for EVM and Solana.
Last updated
Was this helpful?
Affiliate fees can be earned through both cross-chain and same-chain swaps by including the appropriate parameters in the request. This allows integrators to monetize swap activity within their applications.
To enable affiliate fees for cross-chain swaps, the following must be included when creating an order:
affiliateFeePercent
: The percentage of the order input amount allocated as the affiliate fee.
affiliateFeeRecipient
: The address or public key of the affiliate fee beneficiary. This must be:
A public key on Solana
A wallet address on EVM chains
Affiliate fees become available once an order reaches the ClaimedUnlock
.
On EVM chains, the affiliate fee is
On Solana, the fee must be withdrawn manually. Further details on withdrawing affiliate fees are provided .
The deBridge Widget also supports affiliate fee collection for same-chain swaps. These swaps use the same affiliateFeePercent
and affiliateFeeRecipient
, with Solana requiring additional configuration.
For same-chain swaps on Solana:
The affiliateFeeRecipient
must be a Jupiter referral key.
Referral keys can be generated at .
Earned fees can be claimed via the .