TL;DR:Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
minFeesNative now works on Solana — it floors the caller referral fee in SOL and is enforced on-chain by MobulaRouter. Two new params, feeToken + minFeesTokenRaw, let you charge a flat minimum fee in any SPL token, independent of the swap route.
minFeesNative on Solana
minFeesNative sets a floor on the caller referral fee, previously honored only on TON. It now also applies to Solana swaps where the fee asset is native SOL (i.e. the quote side of the pair is SOL).
- Effective referral fee =
max(amountIn × feePercentage / 100, minFeesNative) - Enforced on-chain by MobulaRouter — not just computed off-chain
- Honored when the fee is taken in native SOL; ignored for SPL-token fees
- Requires
feeWallet
feeToken & minFeesTokenRaw (Solana)
Charge a flat minimum fee in any SPL token, regardless of what is being swapped.feeToken— mint of the token to charge inminFeesTokenRaw— raw amount (smallest unit) to charge- Collected via a dedicated instruction added next to the swap, transferred to
feeWallet - Independent of the swap route — the fee token does not need to be
tokenInortokenOut - The transaction reverts if the user’s balance is insufficient
- Requires
feeWallet