When a quote request arrives, the aggregator enumerates candidate pools for the pair across every AMM and fee tier it indexes, reads each pool's reserves, and applies the constant-product formula hop by hop. It then walks a route graph: direct pairs, two-hop paths through a base asset, and multi-venue splits that divide one input across several pools inside a single transaction. The number returned is the best simulated output minus a protocol fee and a gas estimate. Nothing is added to the book. The ceiling on any quote is the sum of what the candidate pools already hold.
You can reproduce the quote without trusting the front end. Call getReserves() on the pair contract at the quoted block through eth_call, apply x*y=k net of the pool fee, and check whether the aggregator's figure matches a single pool or implies a split. A quote that exceeds the best single-pool output by a wide margin is telling you it routed through more than one venue.
The executed result lives in the receipt, not the quote. Decode the Swap event on every pool the transaction touched and sum the amountOut fields. That sum is what you actually received, and it is the only number worth comparing against the simulation. If your node is missing the receipt, re-fetch it by transaction hash from a second endpoint before you conclude anything about the fill.
Each pool added to a split lowers marginal price impact on the pools already in use and adds that pool's fee plus another hop's gas. The optimum sits where the impact saved on the marginal unit equals the fee plus amortised gas of the next hop. Thin pairs with several pools reach that point late, so splits genuinely help there. On a pair where one pool dominates, the second hop's fee exceeds the impact it removes, and a correct router returns a single route.
Work the comparison by hand before you accept a split quote. Read reserves of both pools at the same block, compute output for the full amount on the deeper pool alone, then compute the split, then net out the pool fee and the gas. If the split's edge over the single route is smaller than the gas you will pay, the router is optimising a number you do not keep. The decision rule is mechanical: if the simulated edge is under the gas estimate, force the single route.
Confirm after the fact by comparing amountIn per pool in the Swap events against what the router predicted. A split that lands with most of the input in one pool and a sliver in a thin one usually means the sliver bought less than its fee cost. Treat that pattern as a router bug for your size, not as noise.
Price impact is trade size against reserves, and no routing layer changes that ratio. When the trade is large relative to total reserves across all candidates, every route suffers similar impact and splitting merely redistributes the same slippage. The aggregator's improvement over the best single pool tends toward zero as size grows, while extra hops keep adding fees and gas. Depth sets the ceiling. Routing only approaches it.
Plot output against input using getReserves() from the top pools for the pair. The curve flattens, and past the point where the split's marginal benefit falls below fees plus gas, the quoted improvement over one pool shrinks toward nothing. A large executed trade is the cleanest evidence: if amountIn sits concentrated in a single pool while multiple candidates exist, the router already found that splitting had stopped paying.
The failure mode to watch is the router including a thin pool to shave impact when that pool's fee and the extra hop's gas exceed what it saves. Executed output then comes in worse than a single-pool route would have delivered. The transaction succeeds. The route was still wrong for your size. If two RPC endpoints disagree on that thin pool's reserves, quote against the endpoint whose block number is higher and re-read at the next block before signing.
The quote is computed at one block, and reserves move before your transaction is included. The router derives amountOutMin from your slippage tolerance and reverts if pool state crosses that bound. A fill between the quote and the bound is normal and expected. A revert with an insufficient-output error means reserves moved past the bound between quote and inclusion, and you paid gas for no fill.
Inspect the input calldata for amountOutMin, then compare it to the sum of amountOut in the Swap events. That pair of numbers tells you whether you were filled worse than quoted but inside tolerance, or stopped out entirely. Aggregation cannot remove this gap because it does not control block ordering or the reserves at the moment of inclusion.
A stale quote is the most common way an aggregated swap costs you money without filling. Widening tolerance to force a fill converts a revert into a worse execution, which is a choice about which loss you prefer, not a fix. The practical rule: if the quote is more than a few blocks old, re-quote rather than widen.
The interface shows a summary; the chain shows the path. A router transaction lists every pool touched and the amount per hop, and summing. Swap event amountOut across those pools gives the true output. Comparing that against a single-pool calculation from the prior block's reserves tells you whether the split added value or only added hops.
On BscScan, open the swap transaction, expand the logs, and decode Swap events per pool address. Read each pool's getReserves() at the block before the transaction and recompute the single-pool output for the same input. The difference is what aggregation bought. The gas paid is what it cost. If the explorer view truncates the logs, pull the full receipt over eth_getTransactionReceipt and decode locally.
For YES token trades, the contract is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111. Verify any pool address against that token before signing, and treat a displayed route through an unexpected pool as a reason to stop rather than a detail to skim. YESswap's fee router on BSC is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d, and the only official domain is https://yesswap. Telegram and X are both @web3yesswap. Any other address, handle or domain is not official. Every claim above is checkable on BscScan for 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 on BNB Smart Chain (chain id 56); treat https://yesswap.vip and @web3yesswap as the only official channels.
Open YESswapIt builds a transaction and signing happens in your wallet. YESswap is non-custodial and the site never asks for a private key or seed phrase.
Your slippage tolerance sets amountOutMin, and fills between the quote and that bound are normal.
Price impact depends on reserves. If the trade is large relative to total depth, every route suffers similar impact and splitting only adds fees and gas.
Decode the Swap events in the transaction, sum amountOut per pool, and compare against a single-pool calculation from getReserves() at the prior block.
0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 (BEP-20, 18 decimals). Verify it on BscScan before trading, and treat any other address as unofficial.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: swap tokens on bsc.