← Academy library

Crypto / Evergreen

A swap quote is a snapshot of executable assumptions

A quote estimates a trade against observed liquidity and routing conditions, but the eventual transaction executes against the state present when it is included.

THE IDEA TO KEEP

A quote informs an authorization; the authorization's on-chain limits determine what execution may actually do.

The distinction that matters

A quote estimates a trade against observed liquidity and routing conditions, but the eventual transaction executes against the state present when it is included. In an automated market maker, available reserves or active liquidity determine the quoted trade along a pricing curve. A router may choose among several pools or combine routes. The displayed quote is therefore a calculation about a particular path and state, not an unconditional offer from every possible counterparty.

How the mechanism works

The quote can become stale through other trades, liquidity changes, fee changes, or updates to the selected route. Execution changes the state, and other transactions can change it before the user's transaction arrives. Several costs can appear in the same trade: pool fees, movement along the pricing curve, market changes before inclusion, and network execution charges. A minimum-output condition limits what the contract is allowed to deliver, while a deadline limits when the authorization remains usable. Neither guarantees execution.

A worked situation

Consider this hypothetical situation: A hypothetical user leaves a swap page open while several large trades alter the selected pool, then signs using an earlier displayed estimate. The encoded execution limits may cause a revert or permit a different result, depending on how the interface refreshed and constructed the transaction.

Where interpretation can fail

A visible quote timestamp does not itself create a binding counterparty commitment to honor the old price. Compare the latest simulation, signed call data, and actual receipt rather than assuming the initial display defines the final trade. A quote informs an authorization; the authorization's on-chain limits determine what execution may actually do.

The wider technical implication

The interface may refresh a quote automatically while leaving the user's tolerance unchanged, which can alter the absolute minimum output being authorized. Alternatively, it may preserve an old bound and cause a later transaction to revert. These are different user experiences arising from how the application constructs the final call. The relevant object for review is the signed payload, not merely the last number remembered from the page. A post-trade reconciliation should compare input spent, output received, fees, and the encoded limits, making it clear whether a difference was authorized, caused by routing, or due to failed execution.

A global perspective

Swap interfaces, pool access, token classification, and reporting obligations can differ by jurisdiction. Technical availability does not establish regulatory status.

Sources & further reading

Uniswap documentation — Swaps ↗Ethereum.org — Decentralized finance ↗

Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.

Make the idea stick.

Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.

What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.

Explore crypto →

KEEP THE CONNECTION

Your next useful question.

Your saved guides →