Knowing how migrate tokens between chains works is what separates a clean trade from a costly one. When a router returns a cross-chain quote, it is not quoting a pool. It is publishing a solver's commitment: accept your source-chain tokens, deliver a stated amount of destination-chain tokens, valid only until a timelock and only if the solver's destination inventory covers the fill. Two primitives enforce that commitment. The quote hash becomes a hashlock, and the expiry block or timestamp becomes a timelock. Settlement is atomic in neither direction; it is conditional in both.
The source-chain contract holds your deposit under the hashlock. The solver fills on the destination chain, reveals the preimage, and claims the deposit. If the timelock passes first, the fill reverts and the refund path opens. Your principal is never at the solver's discretion; only your time and gas are.
Verification starts at the quote-creation log. Open the solver or router contract on BscScan and find the event that emitted your quote, typically QuoteCreated or OrderInitialized. The topics carry the quote hash. The data field carries the offered output amount, the expiry timestamp, and the solver address. Subtract the emitting block's timestamp from the expiry timestamp. That difference is the quote's nominal life, and it is usually far shorter than the countdown a frontend renders.
Nothing about your inaction protects a quote. Its rate is derived from live reserves on both chains, and those reserves move the moment anyone swaps or arbitrages. A solver that committed to an output at one reserve state cannot honor it after the destination pool has drifted past its hedging tolerance. The validity window is therefore sized to the solver's rehedge latency. It is a risk limit wearing the costume of a convenience feature.
Measure the drift yourself. Read the destination pool's reserves at two block heights with eth_call pinned to a block number: getReserves() on a Uniswap-V2-style pair, slot0() on a concentrated-liquidity pool. The delta between the reads is exactly the movement the solver is hedging. On BscScan, the pair's. Sync event timestamps each reserve update, so you can align reserve changes with the quote's issue time without trusting any dashboard.
Decision rule for thin markets: if the destination pool's depth is small relative to your input size, treat any quote older than one or two destination blocks as stale and re-quote. Thin liquidity means a single arbitrage trade can move the output past the committed amount, and the solver's hedge is priced against depth it can actually source. The same rule applies when the pool's. Sync events cluster tightly around your quote's issue block, which signals active repricing rather than a quiet book.
Practical consequence for migration: a quote captured at one reserve state is not executable at a later one. Re-quote rather than reuse. The cost of a fresh quote is a signature; the cost of a stale one is a reverted fill and a second transaction.
Short blocks compress the deadline. A quote expressed in wall-clock seconds maps to a handful of BSC blocks, and the solver's fill must be mined on the destination chain before the timelock, not before your countdown. The solver only fills after it observes your source-chain deposit reach a confirmation depth it treats as safe. Two latencies stack: source inclusion plus confirmation depth, then destination inclusion. When their sum exceeds the timelock, the fill reverts.
Realized latency is measurable after the fact. Take your source-chain deposit hash, read its block number and timestamp on BscScan, then read the solver's fill transaction on the destination chain. The gap between the two block timestamps is your end-to-end latency. Compare it against the expiry stored in the quote event. A gap beyond the expiry with a successful fill means the quote was re-issued or extended off your original hash.
Budget accordingly. If your source-chain confirmation depth requirement plus destination inclusion routinely approaches the quote's nominal life, shorten the route or raise the expiry tolerance you accept at quote time. The user-visible expiry is a budget for both latencies combined, which is why quotes to slower-finality destinations expire faster than quotes between fast-finality chains.
A missing receipt is not proof of failure. If eth_getTransactionReceipt returns null on your first endpoint, the transaction may be pending in that node's mempool view or the node may be lagging. Query a second RPC endpoint before concluding anything, and compare the blockNumber field of both receipts when they arrive. Two endpoints that disagree on the receipt's status mean one is behind the chain head; trust the one whose latest block matches a fresh eth_blockNumber call from a third source.
Fillability reduces to three reads, and none of them require trusting the frontend. First, the expiry timestamp stored in the quote record. Second, the solver's destination-chain token balance via balanceOf(solverAddress) on the destination token contract. Third, the destination pool's current output for your quoted input size, via the router's getAmountsOut or the pool's quote function. A quote is stale if any one of the three has moved outside the solver's commitment.
Run them as eth_call requests against a destination-chain RPC. Compare the pool's current output to the output amount in the QuoteCreated event data. If current output sits below the committed amount and the expiry has passed, the quote is stale and the refund path is your route. If the solver's balance is already short of the committed output, the countdown is irrelevant; the fill cannot clear.
Decision rule on RPC disagreement: if two endpoints return different balanceOf or getAmountsOut values at the same block tag, pin both calls to a single explicit block number and re-run. If the values still differ, one endpoint is serving stale state; discard it and use the endpoint whose eth_blockNumber is closest to the chain head. Never sign against a read you cannot reproduce on a second endpoint at a pinned block.
A worked failure: a user checks only the frontend countdown, sees time remaining, and submits the source-chain deposit. The solver's balanceOf on the destination token is already below the committed output, so the fill reverts at execution. The deposit sits under the hashlock until the timelock passes. The user pays a second gas fee to call the refund. The fix is two extra eth_call requests before signing, not a faster click.
Failure is recorded, not silent. The source-chain contract keeps your deposit under the quote hash until either the solver reveals the preimage and claims it, or the timelock passes. After the timelock, anyone can call the refund function and return the deposit to the original sender. The refund is permissionless, so you never depend on the solver's cooperation to recover principal.
Confirm it from logs. Filter the source-chain contract's logs on BscScan for the refund event keyed to your quote hash, commonly Refunded or OrderCancelled. The event's block timestamp should be at or after the stored expiry. The accompanying token Transfer back to your address confirms the principal returned. You can reproduce the same check by calling the contract's refundable(bytes32) view with the quote hash.
The failure mode is delay plus gas, never loss of principal, provided you interact only with a verified contract. A lookalike router can accept a deposit and expose no refund function at all, converting a timing failure into a permanent one. Verify the YES token at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the fee router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d against the only official domain, https://yesswap. vip, before migrating anything. The official Telegram and X handle is @web3yesswap. No other address, domain, or handle is 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 YESswapThe window is set by the solver's rehedge latency, not by user convenience. Read the expiry timestamp in the QuoteCreated event data and subtract the emitting block's timestamp to get the nominal life.
Principal returns through the permissionless refund path once the timelock passes. The costs are the source-chain deposit gas plus a separate refund transaction fee, and the delay until the timelock expires.
The countdown is a frontend rendering. The binding constraint is the on-chain timelock plus the solver's destination inventory, so check both the stored expiry and balanceOf(solver) rather than the display.
Pin both calls to one explicit block number and re-run.
Compare the address against 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the domain against https://yesswap. Treat any other address, domain, or Telegram handle as unverified.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: bsc wallet tools.