Why is the toAmount lower than expected based on the slippage value?
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.What’s the difference between slippage and price impact?
toAmount
and toAmountMin
toAmount
Does increasing slippage protect against exchange rate changes?
What slippage tolerance should I use for stablecoins or major tokens?
What is the best slippage value for cross-chain swaps?
How does LI.FI calculate price impact, and is there a minimum amount for filtering?
How can I avoid slippage errors?