Crypto / Evergreen
Transfer-tax tokens can disrupt ordinary swap assumptions
A token that deducts value during transfers can deliver less to a pool or recipient than the nominal amount requested by the calling contract.
Token implementation details can alter the exchange calculation even when the pool and router operate according to their own code.
The distinction that matters
A token that deducts value during transfers can deliver less to a pool or recipient than the nominal amount requested by the calling contract. 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
Swap implementations need explicit compatibility with that behavior or may calculate outputs and checks from incorrect assumptions. 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 router sends one hundred input units to a pool, but the token's transfer logic allows only ninety-five units to arrive. A route designed for exact input delivery can fail or produce a different result from a route that measures the actual received balance.
Where interpretation can fail
A successful token approval does not establish that the token is compatible with every swap function offered by the interface. Read the token's transfer behavior and the router function's assumptions before interpreting a failed swap as simple network congestion. Token implementation details can alter the exchange calculation even when the pool and router operate according to their own code.
The wider technical implication
Some routers provide specialized functions that measure actual received amounts rather than assuming nominal transfer equality. That can support certain taxed tokens, but it does not make every arbitrary token behavior safe. A fee that changes by address, administrator action, or market direction can still create unexpected outcomes. Rebase behavior and callbacks add different complications. The correct compatibility claim is therefore narrow: a particular function handles specified behavior under its implementation assumptions. A successful small trade is evidence about that execution, not proof that every later amount and route will behave identically.
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 →