← Academy library

Crypto / Evergreen

A multi-hop swap depends on every intermediate market

A multi-hop swap converts the input through one or more intermediate assets before reaching the final output, linking several pool states in one operation.

THE IDEA TO KEEP

A multi-hop quote is a chain of conversions, so weakness in one intermediate market can determine the whole result.

The distinction that matters

A multi-hop swap converts the input through one or more intermediate assets before reaching the final output, linking several pool states in one operation. 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 transaction's final outcome depends on the combined path, including fees and liquidity at each step. 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 trade routes from a small token through a major asset and then into a stablecoin because no deep direct pool exists. A large change in the intermediate pool can worsen the final quote even when the first pool's price appears unchanged.

Where interpretation can fail

Looking only at the input-output ticker pair can hide concentrated exposure to an intermediate market or unusual token behavior. Inspect each hop and the final encoded output boundary, including which pool dominates the path's price impact. A multi-hop quote is a chain of conversions, so weakness in one intermediate market can determine the whole result.

The wider technical implication

A multi-hop transaction can be atomic at the transaction level, meaning a propagated failure reverts the combined state changes, but atomicity does not mean every route is economically equivalent. Fees, price impact, and token-specific deductions can accumulate across hops. The output guard applies to the final result if the contract is designed that way, while intermediate interactions can still introduce security dependencies. Analysis should preserve both views: the overall transaction's success conditions and the individual markets supplying its price. A route diagram is useful only when it names the actual contracts and assets involved.

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 →