Skip to main content
Blockfront

Crypto markets, protocols and policy

What Is Minimum Received in a Token Swap?

Minimum received is the lowest output an exact-input token swap can accept under its selected execution method. The transaction encodes that output…

Blockfront Editorial

5 min read

What Is Minimum Received in a Token Swap?

Minimum received is the lowest output an exact-input token swap can accept under its selected execution method. The transaction encodes that output constraint, often called amountOutMin. If the method’s output check falls below the floor, the swap reverts. The figure is an execution bound, not the estimated payout.

How minimum received works in an exact-input swap

In an exact-input swap, minimum received limits how far the output can fall while the input amount stays fixed. A quote estimates what the current route would return. The minimum is usually set below that estimate to allow some movement between signing and execution. The selected method determines precisely which output it checks.

Suppose you swap a fixed amount of USDC for DAI. The quote shows 100 DAI and the minimum received is 99 DAI. An execution returning 99.4 DAI satisfies the bound. An execution returning 98.9 DAI breaches it and reverts. The 99 DAI figure permits a range of outcomes; it does not predict that you will receive exactly 99.

A common slip is to read the 100 DAI quote as the amount the transaction promises. QuickSwap passes the minimum output constraint into the selected execution method. At quickswap.dev, refresh the quote and review that floor before signing the swap.

Intervening trades can change pool reserves after you review a quote. The execution method uses the state it encounters when your transaction runs. That is why a swap can meet its minimum even when its output differs from the earlier estimate, or fail when the route can no longer supply enough output.

What to do when minimum received fails

When a swap fails its minimum received check, refresh the quote and review the proposed floor before trying again. Compare the new estimate with the amount you intended to receive. A fresh quote updates the assumptions for a new transaction; it does not change one you have already signed.

A pending transaction retains its encoded constraint. Changing the slippage setting on the swap screen will not alter that transaction. Check its status before submitting another swap. If your wallet offers a replacement or cancellation, handle the pending transaction there; then review the quote and constraint you will sign next.

For an output-related failure, inspect the execution method and its encoded amountOutMin. A revert reason such as insufficient output points to the bound, while the method tells you what was measured against it. Review the output token’s transfer behavior as well. That distinction matters when the displayed route output and the recipient’s balance increase differ.

Widening the allowed movement lowers the floor for a newly signed exact-input swap. Do that only after deciding that the lower output is acceptable. Repeating the same transaction against a changed pool, or lowering the floor without reviewing the resulting amount, does not resolve what made the original quote stale.

How transfer tax changes the output check

Transfer tax changes the output check by separating the amount sent by the pool from the amount added to the recipient’s balance. A token can deduct value during a transfer. For a taxed output token, the router’s nominal output and the recipient’s balance increase can therefore be different numbers.

Change one detail of the USDC-to-DAI example: make the output a token that deducts 2% when it reaches the recipient. If the pool sends 100 tokens, the recipient gains 98. With a 99-token minimum, an ordinary V2 token-to-token method can satisfy its check against the calculated 100-token output even though the recipient gains 98. The floor still governs execution, but its meaning depends on what that method checks.

V2’s swapExactTokensForTokensSupportingFeeOnTransferTokens method handles that boundary differently. It records the recipient’s output-token balance before the swap, runs the transfers, then compares the balance increase with amountOutMin. In the changed example, the 98-token increase is below 99, so this method reverts. The useful number for diagnosing that failure is the net increase, not the pool’s nominal 100-token output.

Check the method before treating “minimum received” as a promise about the wallet balance. A method that compares calculated router output has a different enforcement point from one that compares recipient balance increase. Once the token is in the wallet, a later transfer is a separate event with its own token rules; the swap’s minimum does not constrain that later transfer.

Minimum received vs price impact, maximum sold, and gas

Minimum received is an output constraint. Price impact describes the trade’s effect on its quoted execution price, maximum sold limits input in an exact-output swap, and network gas pays for processing. Reading each figure for its own purpose keeps the swap review focused.

What is minimum received vs price impact?

Price impact concerns how the trade changes its quoted execution price relative to the pool’s starting price. Minimum received sets the output floor the execution method enforces. A quote can already reflect price impact; the minimum addresses how much the output may fall from the reviewed quote before execution fails.

What is minimum received vs maximum sold?

Maximum sold belongs to an exact-output swap. There, you specify the output you want and cap the input the method can spend. The exact-input USDC example works the other way around: it fixes the input and sets a minimum output.

Does minimum received include gas?

Minimum received does not include ordinary network gas. Gas is paid separately in the network’s gas token, including when an executed transaction reverts. Account for it when judging the trade’s overall cost, but do not subtract it from the output-token floor.

Before the next swap on QuickSwap, decide which amount you need to protect: the router’s output or the recipient’s net balance increase. Then inspect the selected method, the output token’s transfer behavior, and the newly quoted floor together. That choice determines whether the displayed minimum matches the amount you actually need in your wallet.