jack-eth

How to Set a Slippage Limit for Treasury Swaps

Set a minimum-output floor before signing; for example, a 0.5% limit on a quote of 9,950 USDC means the swap must return at least about 9,900 USDC. That floor protects the treasury if the market moves while the transaction waits to be processed.

Slippage tolerance sets your minimum output

Slippage is the change between a swap’s quoted result and its result when the trade executes. Your slippage tolerance is the largest drop you will accept. The transaction uses it to set a minimum output, sometimes labelled “minimum received.”

When reviewing a treasury swap, use ParaSwap to compare routed token trades and check the quoted output before choosing that floor. A route may split the trade across liquidity sources, but the minimum still limits how little the transaction can deliver overall.

For example, if a quote offers 9,950 USDC and you choose 0.5% tolerance, the minimum is 9,950 × 0.995, or 9,900.25 USDC. If the route can deliver less when processed, the swap should fail instead of paying out below that floor. Ethereum.org explains the same basic trade-off: a tighter limit gives more protection, but can make a transaction fail more easily.

Choose the limit from the quote and the market

Start with the quoted output, then ask how much movement your treasury can accept before the trade is no longer worthwhile. The quote already reflects expected trading costs and price impact. Price impact means the trade itself changes the available price; slippage tolerance covers further change before execution.

Check these details before setting a limit:

  • Minimum received: the lowest output your transaction will accept.
  • Price impact: the estimated effect of your trade size on the quoted price.
  • Network fee: the fee for processing the transaction, usually paid in the chain’s native token.
  • Quote age: how long ago the route and output were calculated.

A common mistake is raising the tolerance sharply after a swap fails. That can let a much worse price through. First check whether the quote changed, the trade is large for the available liquidity, or network congestion delayed processing. Uniswap’s developer documentation also distinguishes the estimated price impact from slippage while a transaction is pending.

Set and review the minimum before signing

Use this sequence for each treasury swap. The exact labels differ between interfaces, but the checks are the same.

  1. Confirm the pair and network. Check the input token, output token, chain, and destination wallet. A token with the same name on another chain may be a different asset.
  2. Enter the intended amount. Review the quoted output and price impact. If the impact looks too large for policy, reduce the trade or split it into smaller trades, then get a fresh quote.
  3. Set an acceptable floor. Choose a tolerance that matches the treasury’s approved loss limit for this trade. Recalculate the minimum output from the displayed quote; do not copy a percentage from another token pair.
  4. Review the final transaction. Check the minimum received, network fee, and token approval request. An approval lets a trading contract use specified tokens; approve only the intended token and amount where the wallet offers that choice.
  5. Sign once, then check status. A failed transaction may still consume a network fee. If it is pending, check its status before submitting again, so you do not accidentally create a second trade.

A tighter floor can stop an unfavorable execution, but it cannot guarantee a good quote or prevent every token-specific risk. For treasury records, save the quote, chosen minimum, and transaction result so another reviewer can see what the wallet was allowed to accept.

Set the tightest minimum that can clear under current liquidity and timing, and reduce the trade size if that floor keeps failing.