Skip to content
Blockchain Post

News on how crypto works

Four Checks That Connect a Swap Quote to Its Execution Price

A DEX quote is a snapshot, not a promise: check the route, price impact, fees and minimum received to judge the execution price before you sign.

The Blockchain Post Editors2 min read#4bdad7

Cover artwork for Four Checks That Connect a Swap Quote to Its Execution Price

A swap quote becomes an execution price only after its route, costs and minimum-output rule meet the market when the transaction runs. The quote estimates how much of the output token the trade should receive at that moment. The final amount depends on the pools used, other trades and the transaction’s terms.

What does a swap quote measure?

A quote starts with the token and amount you want to spend. A decentralized exchange or aggregator checks available liquidity and estimates the output. An aggregator may split a trade across pools or route it through an intermediate token if that gives a better quoted result. For the routing choices behind a closer look at Blackhole swap routes and wallet choices, see the fuller guide. The key point is that the route is part of the quote: different pools can produce different outputs and costs.

The quote is a snapshot, not a reserved price. A larger trade can move a pool’s balance as it goes through, changing the rate for the trade itself. That effect is called price impact. Slippage is the difference between the quoted output and what the trade receives when it executes, often because the market changed while the transaction was pending. The terms describe different steps, even though both can reduce the output.

Which four checks should you make before signing?

Check the transaction details in order: what you are swapping, how it is routed, what it costs, and the least output you will accept.

  • Tokens and route. Confirm the input and output tokens, amounts and network. If the route lists intermediate tokens or several pools, make sure that path matches the trade you intended.
  • Quoted output and price impact. Compare the expected output with the amount spent. A weak rate on a large trade can signal that the trade is substantial relative to available liquidity. A displayed impact estimate helps show the effect of your own order.
  • All-in cost. Look for pool or service fees shown in the quote, then account for network gas. Gas is paid separately from the swap output, usually in the network’s native token. A route with a slightly higher output may cost more to execute.
  • Minimum received. This is the output floor enforced by the transaction, based on the slippage setting. A tight setting can make the swap fail if the market moves; a loose one permits a worse fill. Check that the floor is acceptable, not just that the headline quote looks good.

Why can the execution price still change?

After you sign, the transaction waits to be processed. Trades that execute before yours can change pool prices, and network conditions can change the gas cost. When the swap runs, it uses the then-current pool state. If the output falls below the transaction’s minimum, the swap generally reverts; the network may still charge gas for processing the failed transaction.

Use the quote to compare routes, then use the minimum received and fee details to judge the transaction you are authorizing. The execution price is the amount actually exchanged after the route runs, with the costs considered separately. Watch the quoted output, minimum and gas estimate again if you refresh the quote or change the trade size.