Skip to main content
toAmount is the estimated post-swap amount. toAmountMin is the minimum amount based on your slippage setting.A lower toAmount can result from price impact or market fluctuations.To filter out routes with high price impact, use the maxPriceImpact parameter.
  • Slippage: Difference between toAmount and toAmountMin
  • Price impact: Difference between the original quote and toAmount
No. Increasing slippage tolerance does not prevent rate changes. It only widens the acceptable range before failing the transaction.
Use 0.5%. Slippage is typically minimal unless the trade size is very small or very large.
It depends on the token, chain, and amount. There is no universal value.To reduce failures:
  • Execute the quote immediately
  • For Solana same-chain swaps, omit the slippage parameter to let LI.FI auto-calculate
LI.FI calculates price impact using the difference in USD value between input and output tokens.Price impact filtering does not apply to trades under $10.
  • Execute the quote immediately
  • Refresh the quote if delayed
  • Increase the allowed slippage in your API request
Yes. A minimum received amount is enforced when the user signs; execution must deliver at least that minimum or it reverts. Slippage exists because prices/liquidity move between quote and execution. Auto slippage picks a suitable buffer by asset liquidity (lower for stablecoins, higher for long-tail assets), and LI.FI commonly defaults to ~0.5% with the minimum slightly below the estimate to absorb normal movement.