Knowing how bep20 token approval works is what separates a clean trade from a costly one. A refund travels one of two paths, and who holds your tokens when the sale fails fixes which path exists. If the sale contract took custody, it can push tokens back with a plain transfer from its own balance. If it never took custody, your tokens never left your wallet and the only recoverable object is the approval you granted.
Read the sale contract's token balance directly. Call balanceOf on the BEP-20 contract at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 with the sale contract as the argument, through the BscScan. Read Contract tab or a raw eth_call. Compare that number to the raise recorded in the sale's state variables. A near-zero balance next to a nonzero raise means the contract is a pass-through and holds nothing to send back.
Two RPC endpoints can disagree on that balance, and the disagreement is usually lag rather than fraud. Query the same balanceOf call against a second provider and compare blockNumber in both responses before you conclude the contract is short. If the two heights differ, re-query the lower one at the higher height. A receipt that never appears is a different failure: a pending transaction has no logs to read, so check eth_getTransactionReceipt for a null result and a status field of 0x1 before you treat a hash as settled.
approve writes an entry into an allowance mapping keyed by owner and spender. Nothing moves at signing time. The mapping is a spending limit the spender can exercise later, which is why a pull-based refund lands in a second transaction rather than the same block as your approval.
A pull refund calls transferFrom with the buyer as source. That call reverts unless allowance[buyer][spender] covers the amount and the buyer's balance covers it too. Two independent preconditions, one revert if either fails.
Verify the spender before you sign, not after. Call allowance(buyer, spender) on the token contract and read the Approval event emitted at signing, whose fields are owner, spender and value. Match the spender field to the verified sale contract. An approval granted to an address copied from a chat message is a drain waiting for a caller, and transferFrom will empty the approved balance rather than refund it.
Decision rule: if the Approval event's spender does not match the sale contract you verified on BscScan, call approve(spender, 0) on that same address today and re-approve only the verified one. If the sale contract exposes no refund selector in its ABI, skip the claim entirely and go straight to the reset. If allowance already reads zero, there is nothing to revoke and no second transaction to pay for.
A green transaction hash proves one thing only: the call did not revert. It does not prove value moved. A refund that hits a no-op branch inside the contract returns success and emits no Transfer to your address, and your balance is unchanged.
A push refund emits from equal to the sale contract address. A pull refund emits from your own address, which on the event log alone looks identical to you spending the tokens yourself. The transaction's to field and the internal call trace are what separate the two cases, so inspect both before you conclude anything.
Thin liquidity changes what a refund is worth, not whether it happens. A contract can return the full token amount and the recipient still cannot convert it at the price the sale implied, because the pool depth on the other side of the trade is smaller than the position. Check the pair's reserves through the router's getReserves before you value a refund at the raise figure.
Native BNB needs no approval. A BNB refund is a direct value transfer out of the contract's balance, and it fails for exactly one reason: the balance is short. A BEP-20 refund carries two failure points, the allowance and the contract's own token balance, and either one reverts the claim.
Forwarding is where BNB sales break. A sale that accepted BNB and promised tokens can be unable to refund if the raised BNB already left for a treasury address. The fee router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d matters here: value sent there sits outside the sale contract's reach, and a refund then depends on the router sending funds back in a separate transaction.
Trace the sale contract's outgoing value transfers in its internal transactions on BscScan. If BNB left for the router before the sale concluded, the sale contract's balance cannot cover refunds regardless of what the interface promises. That is a verifiable fact, not an interpretation.
Decision rule: if the sale contract's BNB balance is below the sum of recorded contributions, treat the refund as dependent on a third party and stop counting it as recoverable. If the balance covers contributions, a direct refund call settles in one transaction. If the balance is short but the router still holds the forwarded value, the recovery path runs through the router, not the sale.
An allowance persists until it is spent or reset. Calling approve(spender, 0) overwrites the mapping entry and removes the contract's ability to move your tokens. When no refund function exists, this is the only refund action available to you.
The protection is forward-looking. Resetting costs gas and changes nothing about tokens already transferred, so it protects the remainder of your balance, not the past. Do it anyway, and do it against the verified sale contract address rather than a screenshot.
Confirm the reset on chain. Re-read allowance(owner, spender) on the token contract and check that it returns zero. The Approval event with value 0 is your receipt. Never approve an address you have not matched to a verified contract on BscScan, and treat any token address other than 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 as unverified until you have checked it yourself.
Timing is set by block inclusion, not by the interface. A reset sits pending until a validator includes it, and until then the old allowance is still live, so confirm the receipt rather than the submission. Cost is one approve transaction at the prevailing BSC gas price plus the BNB value of that gas, and a pull refund adds a second transaction on top. Budget two signed transactions for a pull path and one for a reset. 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 can transfer from its own balance or pull against an allowance you granted, and nothing else.
Yes, if the refund uses transferFrom. The approval is a separate transaction from the claim.
Read the Approval event's spender field on the token contract and match it to the verified sale contract.
Look for a Transfer event to your address from the refund source, and check the from field to see which path executed.
Reset the allowance to zero with approve(spender, 0) so it cannot move the tokens later.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: token approval checker bsc.