Cross-chain swap slippage for route comparers
For a two-swap cross-chain route, a 0.5% slippage tolerance usually applies to each swap separately, so it does not guarantee the final amount stays within 0.5% of the original quote. If you are comparing routes, check where each minimum-output limit is enforced and what happens if a later leg cannot meet it.
What does slippage tolerance protect?
Slippage tolerance sets the largest adverse difference between a swap’s quoted output and the minimum output the transaction will accept. For a swap quoted to return 1,000 XYZ at 0.5%, the minimum is 995 XYZ; below that, the swap reverts instead of completing at the worse rate.
The limit protects against price movement and state changes between quoting and execution, including other trades changing a pool’s reserves. It does not cover every change to the total value delivered: bridge fees, a bridge’s conversion rate, destination gas, and token transfer fees may be handled separately or incorporated into the quote.
Also separate price impact from slippage. Price impact is the effect your trade size has on a pool’s price; slippage is the difference between the expected execution and the actual execution. A large trade against shallow liquidity can have high price impact before it is submitted, even when execution stays within the tolerance.
Where does the limit apply in a cross-chain route?
It applies wherever the route includes an AMM swap, and the exact placement depends on the router. A common path is source-chain swap → bridge → destination-chain swap; another is bridge first, then swap on the destination. Each step can have a separate quote, execution window, and failure condition.
For example, a route that swaps USDC into ETH on the source chain, bridges ETH, then swaps it into a destination token has two AMM legs. If both legs use 0.5% tolerance, the first leg can execute at its minimum and the second can also execute at its minimum. The combined output can therefore be roughly 0.75% below the amount implied by both quoted rates, before bridge costs or other adjustments. This is an illustrative calculation: the actual bound depends on how the router builds and refreshes the plan.
Some routers apply one tolerance setting to every AMM leg rather than enforcing a single end-to-end minimum. Uniswap’s Chained Actions documentation, for example, says tolerance is fixed at quote time and applies independently to each swap step; its bridge step is quoted separately and has no AMM slippage band. That distinction matters: a displayed final estimate is not necessarily one on-chain guarantee covering the entire journey.
How should you choose a tolerance?
Choose the narrowest tolerance that gives the route a reasonable chance to execute at the size and speed you need. Deep pools with stable prices may tolerate a small band such as 0.1–0.5%; volatile assets, thin pools, or large trades may need more headroom. These are examples, not universal settings—the pool depth, trade size, volatility, and delay before execution determine the useful range.
Compare the route’s expected output at your trade size, not only its spot rate. If a $10,000 source swap is quoted to produce 5 ETH, the pool curve and fees determine whether that amount is realistic. Then inspect the minimum output for each swap leg: a generous tolerance can make a fragile route succeed while allowing a materially worse fill.
For a multi-step route, ask whether the destination leg is re-quoted after the bridge completes. A fresh quote uses the actual bridged amount and current destination liquidity; a fixed payload can instead fail if its assumptions no longer hold. Either design has a trade-off: re-quoting adapts to new conditions, while a fixed minimum gives a clearer bound but can cause the step to revert after a long wait.
What happens if a leg misses its minimum?
If an AMM swap executes on-chain below its minimum, that swap transaction reverts; the tolerance does not automatically widen. In a staged route, earlier confirmed steps may already have completed, leaving an intermediate asset on one chain while the failed step needs a new quote or recovery action. Check what asset you would hold at each stage and whether the route can be resumed from that point.
Before signing, check the quoted input and output tokens, the minimum amount on each swap, whether bridge delivery is quoted separately, and whether later steps refresh after confirmation. If the quote changes materially before you submit the source transaction, compare the new route rather than relying on the old estimate.
omnichain.network is one way to compare and make omnichain swaps through a single service. Treat the displayed final amount as a route estimate until you know which per-leg limits enforce it and what intermediate asset remains if a step fails. That is the practical test behind omnichain transfers: compare the execution guarantees, not just the headline output.
Comments
Post a Comment