chainId | ✓ | solana:solana |
tokenIn / tokenOut | ✓ | Token mint address. Native SOL sentinel = So111…111; WSOL SPL mint = So111…112. |
amount or amountRaw | ✓ | Human-readable ("1.5") or raw ("1500000" for 6-decimal USDC) |
walletAddress | ✓ | User’s Solana base58 pubkey |
slippage | – | % value (0-100) or auto. Defaults to auto. |
prioritizationFeeLamports | – | Jupiter-compatible priority fee budget: auto, fixed lamports, or {"priorityLevelWithMaxLamports":{"priorityLevel":"medium" | "high" | "veryHigh","maxLamports":1000000,"global":false}} |
dynamicComputeUnitLimit | – | true by default; dynamically sizes the Solana compute limit from the built swap instructions |
jitoTipLamports | – | Add a Jito tip transfer to one of the official tip accounts |
multiLander | – | true returns N candidates over a durable nonce — see Multi-lander |
landerTipLamports | – | Per-lander tip when multiLander=true |
payerAddress | – | Fee abstraction. This wallet pays transaction fees, priority fees, Jito tips, and ATA rent. It must sign when different from walletAddress. The swap funds still come from walletAddress. |
closeAuthority | – | Optional close authority for non-WSOL ATAs Mobula creates during the swap when payerAddress is used. Usually set it to the central payer wallet to reclaim rent later. |
destinationWallet | – | Solana-only tokenOut recipient. Defaults to walletAddress. Do not combine with finalRecipientWallet. |
swapRecipientAddress | – | Solana-only router-enforced final recipient. MobulaRouter transfers the exact final swap output to this wallet after swap execution and fee/slippage checks. Do not combine with destinationWallet. Legacy alias: finalRecipientWallet. |
feePercentage | – | Caller referral fee 0-99% (taken from input or output SOL) |
feeWallet | – | Required when feePercentage > 0 (and for minFeesNative / feeToken) |
minFeesNative | – | Minimum referral fee in SOL, e.g. 0.05. Floors the referral fee — max(amountIn × feePercentage/100, minFeesNative) — enforced on-chain by MobulaRouter when the fee asset is native SOL. |
feeToken | – | Mint of a token to charge a flat minimum fee in (with minFeesTokenRaw). Transferred to feeWallet via a dedicated instruction, independent of the route. |
minFeesTokenRaw | – | Raw amount (smallest unit) of feeToken to charge. Tx reverts if the user’s balance is insufficient. |
onlyRouters | – | Comma-list of jupiter,naos,kyberswap,lifi |
excludedProtocols / onlyProtocols | – | DEX-level filter (e.g. raydium,orca,pump-amm) |