A grid rung on a DEX is a signed swap, so its minimum spacing is the sum of pool fee and gas divided by notional, expressed in basis points. Price oscillation is necessary but not sufficient. If the round-trip edge per step does not clear that sum, every fill is a net loss even when the grid direction is right. The decision rule is mechanical: if summed fees plus gas exceed the spacing in basis points, delete the rung rather than widen it.
Aggregation breaks the headline-fee assumption. When the router splits an order across two hops, the effective fee is a weighted blend of both pools, and the path array in the calldata is the only honest source for it. Read the path on the transaction page, then read each pool's Swap event for the amounts that actually crossed it. Sum the fees across hops before dividing by notional. A single-pool fee figure understates cost on every aggregated fill and silently inflates your break-even spacing.
The receipt closes the loop. gasUsed multiplied by effectiveGasPrice gives the gas leg in wei, and the summed Swap-event fees give the pool leg. Add them, divide by the notional of one rung, and convert to basis points. That figure is your break-even spacing, and any grid set below it is falsified before the first fill. Verify by calling eth_getTransactionReceipt on the hash and reading the two fields directly; do not trust a block explorer's rendered "fee" column, which rounds.
Two failure modes bite here. A pending transaction can be included in a later block at a higher base fee, so the receipt's effectiveGasPrice may exceed what the wallet quoted, and spacing computed from the quote is then too tight. Separately, if the receipt is missing because the transaction is still pending or was dropped, there is no gasUsed to read and no spacing to compute; treat the rung as unverified and re-sign rather than assume the quote held.
Rung size is bounded by slippage tolerance, not by account equity. A rung that is a large fraction of the active pool's quote reserve moves price far enough on fill to cross the adjacent level, and the grid collapses into one directional trade. The condition that keeps a grid oscillating is simple: single-fill price impact must stay below the spacing.
Read reserve0 and reserve1 from the pair contract with eth_call, or open the pool page and read the reserves field directly. Compute your rung as a fraction of the quote reserve, then ask the router to quote that exact size and compare the quoted impact against your spacing in basis points. If the quote impact exceeds the spacing, the rung is too large for that pool regardless of how much capital you hold. The decision rule: if quoted impact is at or above spacing, halve the rung and re-quote before signing.
Cross-check the live fill against the quote. The executed transaction's. Swap event carries amountIn and amountOut for the pool, and the difference between the quoted and realised output is your slippage truth. A rung that quotes inside the spacing but fills outside it means the pool moved between quote and execution, which is itself a sizing signal. Thin liquidity is the edge case that produces this most often: a pool whose quote reserve is small enough that one rung is a visible fraction of it will reprice between your eth_call quote and your inclusion block, and no amount of tolerance tuning fixes a pool that shallow.
A grid holds two assets, and every fill converts one into the other, so inventory drifts monotonically whenever price trends instead of oscillating. The drift is not hidden. It appears as a widening ratio between your wallet balances and the reserves you deposited into the pool.
Compare the wallet's BNB and USDT balances via eth_getBalance and balanceOf against the reserves you supplied. A sustained divergence in one direction across several. Swap events is the signal to rebalance or reset. One fill proves nothing. A run of fills all converting the same asset into the other is the pattern that precedes a fully one-sided position. The decision rule is a threshold on that run: if consecutive same-direction fills reach the point where one leg is nearly exhausted, stop adding rungs and rebalance before the next fill.
Attribution matters more than the raw balance. Filter the router's swap events for your address to get the exact fill history, then tag each fill by direction. The count of consecutive same-direction fills is the drift metric, and it is measurable without any dashboard. A grid that has converted most of one leg into the other has stopped being a grid. When two RPC endpoints disagree on a balance, trust neither: re-query both at the same block height with eth_getBalance and compare, because a lagging node will report a pre-fill balance and make drift look smaller than it is.
A floor mechanism backed by a fee router creates a bid that does not behave like ordinary liquidity. Grid rungs placed below the floor can be filled by the mechanism rather than by independent market flow, so the mean-reversion your grid assumes is supplied by contract logic instead of by other traders. That changes fill probability per rung, and therefore the spacing that is actually profitable.
Two addresses define the surface. The YES token contract sits at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111, and the fee router sits at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. Trace transfers and swaps involving the router to see which fills came from the mechanism and which came from independent flow. A fill whose counterparty is the router is not evidence of market demand. Verify by reading the Transfer events on the YES token and checking whether the router address appears as sender or recipient in the same transaction as your fill.
This is where a generic grid model misprices risk. Rungs above the floor trade against ordinary flow and behave normally. Rungs below it trade against a contract that will keep buying, which flatters the backtest and distorts the inventory profile. Treat the floor as a boundary of the model, not a level inside it. The decision rule: if a fill's counterparty is the router, exclude it from your mean-reversion statistics and count it only toward inventory drift.
Verification is a single transaction, not a backtest. Run one rung at minimum size and read the receipt: gasUsed, effectiveGasPrice and the pool's. Swap event amountIn and amountOut together give realised cost and realised fill. Any of them can invalidate the spacing or size assumption before the full grid is deployed. Cost and timing are bounded by the chain, not the site: you pay one gas fee per rung plus the pool fee embedded in the swap, and confirmation takes as long as the next block takes to include you.
Compare realised cost against the spacing you computed, both in basis points. If realised cost exceeds spacing, the configuration is falsified and no amount of rung count fixes it. If realised cost sits comfortably below spacing, the grid has margin, and you can scale rung count against inventory tolerance rather than against optimism.
The same receipt tests the sizing assumption. Divide the realised price impact by the spacing. A ratio close to one means the rung is at the edge of what the pool can absorb, and the next fill may cross the adjacent level. Non-custodial execution keeps this honest: every transaction is signed in your wallet, and the site never asks for a private key or seed phrase. Verify the domain is https://yesswap. vip and the handles are @web3yesswap on Telegram and X before you sign anything. 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 YESswapSum the pool fees across every hop in the router path, add gasUsed times effectiveGasPrice, divide by the rung notional, and express the result in basis points. Any spacing below that number loses money on every fill.
Keep single-fill price impact below the spacing.
Read the Swap and Transfer events on the YES pool and check whether the fee router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d is the counterparty. A fill against the router is mechanism flow, not independent demand.
The effective fee is a weighted blend across hops, so read the path array in the calldata and sum each pool's Swap-event fee. Using one pool's headline fee understates cost and overstates spacing.
There is no fixed count. Track consecutive same-direction fills from the router's swap events for your address, and rebalance when the wallet-to-LP ratio has drifted far enough that one leg is nearly exhausted.
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.