Jump to content
Crypto Front Page

Crypto networks, markets and policy

What Quote Expiry Does in a Crypto Swap

Quote expiry limits how long a displayed crypto swap price can be accepted, reducing stale-price risk while slippage and execution limits do separate work.

The Crypto Front Page Desk4 min read

What Quote Expiry Does in a Crypto Swap

Quote expiry sets a time limit on how long a crypto swap’s displayed terms remain valid. A wallet or trading app calculates a price from available liquidity, fees and the chosen route, then attaches a validity window; after that window, the app may require a fresh quote before the swap can proceed.

The sequence is simple: the app requests a price, a router or liquidity source returns proposed terms, and the app shows the expected output and an expiry time. The quote is a snapshot, like a shop’s price tag that is only held for a short time. A moving crypto market can change the available price between that snapshot and the user’s approval.

Why do crypto quotes expire?

Quotes expire because the information used to calculate them can go stale. A token’s market price may move, a liquidity pool may have less available liquidity, or a route may no longer be the best way to trade. The longer a quote sits unused, the less confidence an app can have that the same terms are still available.

For a multi-step or cross-chain swap, the displayed route can include several trades and a transfer between networks. Each step can affect the final amount or timing. A closer look at Rango bridge route costs and transfer times shows why a route’s details matter alongside its headline price. If one part of a route changes, the app may refresh the quote so the user can review updated terms before proceeding.

Expiry also helps a trading service manage the boundary between a price estimate and a price it is willing to honor. Some quotes are indicative: they describe what a swap could return based on current conditions, but do not reserve liquidity. Other systems may use firm or signed orders with explicit validity rules. The interface and transaction details determine which kind the user has.

What happens when a quote expires?

When a quote expires, the app generally stops treating its terms as current and asks the user to request or accept a refreshed quote. That refreshed calculation may show a different output, route, fee or estimated transfer time. The user can then decide whether to continue with the new terms.

Quote expiry is different from a transaction deadline. The quote’s timer applies before submission: it limits how long the displayed offer or estimate is considered current. A transaction deadline is a condition attached to a submitted swap; if the transaction reaches the contract after its deadline, it can revert rather than execute under stale conditions.

Neither timer guarantees the exact output shown. A decentralized exchange swap can still be affected by price movement while a transaction waits for inclusion. A minimum-output setting provides a separate bound: it specifies the least amount the user will accept, and the swap reverts if execution would return less. Expiry, deadline and minimum output address different points in the process.

How should you use an expiring quote?

Check the quote’s terms before approving the transaction, especially if it has been open for a while or the network is congested. Focus on the amount you will receive, the minimum output, the route and fees, and any transaction deadline. Refreshing replaces a stale snapshot with current proposed terms; it does not promise that the new price will remain available indefinitely.

  • Compare the expected output with the minimum output you are willing to accept.
  • Check whether the quote covers one swap or a route with multiple steps.
  • Review the expiry or deadline shown by the app before signing.
  • If the quote expires, read the refreshed terms again instead of assuming the old price carried over.

A very short validity window can force repeated refreshes, while a long transaction deadline leaves more time for market conditions to change before execution. The better choice for most users is to rely on the app’s normal quote window, refresh if it lapses, and set an output limit they can accept. Quote expiry changes how long stale terms are usable; the next thing to watch is whether the refreshed quote still meets the user’s price and route requirements.