Cross-chain swap slippage protection sets the worst execution price you will accept before the protocol refunds the deposit. The key condition is that a quote can age while the source transaction waits for confirmation, so your price floor must allow for expected movement without becoming meaningless.
Separate price impact from execution slippage
Price impact is the movement caused by your own trade consuming available liquidity; slippage is the difference between the quoted and executed price. A displayed quote may already include expected price impact, so applying a tolerance to that quote sets a floor for later movement rather than erasing the impact already shown.
For example, if a quote estimates 0.0200 ETH and you allow 0.5% slippage, the minimum output is 0.0199 ETH: 0.0200 × (1 − 0.005). That 0.5% is illustrative, not a universal setting. A thin route or volatile pair may need a wider band to execute, while a wider band also accepts a worse fill.
In a native-asset flow, source-chain finality and cross-chain execution add delay before the swap reaches its liquidity. Chainflip, for example, supports a minimum price relative to the quote and, for eligible pairs, a separate maximum deviation from an oracle price; these bounds address different risks. The Chainflip example is useful because a cross-chain quote is not the same as an atomic, same-chain transaction.
Choose a price floor and a time limit together
A minimum price says how bad the execution may be; a retry duration says how long the protocol may wait for that price before refunding. A tight floor with a long retry window can leave funds pending through market movement, while a loose floor with a short window may accept a poor execution quickly.
On Chainflip, retry duration is expressed in State Chain blocks, with one block taking about six seconds: 100 blocks is roughly ten minutes. The quote can provide a recommended retry duration and slippage tolerance; use those as the starting point, then adjust for the pair’s volatility, source finality delay, and how costly a refund would be. Live-price protection, when supported, compares against an oracle reference rather than the original quote, so it can allow execution when the market moves favorably while still rejecting a large adverse deviation.
A common mistake is to raise slippage until a swap stops failing. That can mask a stale quote or insufficient liquidity and expose the trade to a materially worse fill. First refresh the quote and inspect its route and expected impact; widen the bound only if the new minimum output remains acceptable to you.
Set the bound before sending the deposit
Use this sequence to compare a quoted route with the result you are willing to accept:
- Record the quoted output, its units, the source and destination assets, and the time the quote was produced.
- Calculate the minimum output from the quote and chosen tolerance: quote × (1 − tolerance as a decimal). Round down to the destination asset’s smallest unit.
- Compare that floor with your own acceptable value after accounting for fees. Some protections apply at the AMM level and exclude deposit or broadcast fees, so the amount delivered can be lower than the protected swap output.
- Set a retry duration that covers plausible source confirmation and execution delays, then decide whether waiting that long is preferable to a refund.
- Verify the refund address on the source chain and the destination address and asset before broadcasting. If the quote has materially aged, obtain a fresh one and recalculate rather than widening the old floor automatically.
On a protocol that supports both quote-relative minimum price and oracle-relative live-price protection, treat the quote floor as your absolute acceptable price and the oracle bound as a guard against execution far from the broader market. The two protections can coexist; neither guarantees a fill, and a refund may still leave network costs incurred.
Does tighter slippage make a swap safer?
It limits the price deterioration you accept, but it does not guarantee completion. If the market moves beyond the floor or available liquidity cannot meet it, the swap may wait and then refund. Choose the tightest floor that still reflects a plausible execution price for that route and confirmation window.
Why can the received amount be below the minimum output?
Check whether the minimum applies to the AMM swap output or the net amount delivered after deposit, broadcast, or other fees. A floor enforced before those costs does not promise that the wallet receives that exact amount. Compare the quote’s fee treatment and the protocol’s protection semantics before setting your threshold.
Should I use oracle protection instead of a quote-based floor?
They answer different questions. A quote-based floor limits deterioration from the price you agreed to; oracle protection rejects execution too far from a broader reference price. If the pair supports both, using both can cover quote staleness and abnormal pricing, but a tighter oracle bound can also delay or prevent execution during fast legitimate market moves.