When a token can erase your balance

A buy receipt can show tokens arriving even if the contract later wipes the balance. Compare historical balance reads with the token’s transfer log.

A buy receipt shows an incoming transfer. Later, the token contract reports a zero balance for the receiving wallet. Both readings can describe the same address. The receipt records what happened during the buy. The token contract answers what the wallet holds now.

What happened to buyers of a fake SHIA token

CertiK investigated a fake SHIA token on BNB Chain at 0x28199B96655D1280296c31353Cd188E696506faa. The contract creator used an admin-only branch of a function called increaseAllowance to zero a holder’s balance. CertiK found four calls that reset user balances in this case. The function name sounds like an approval change, so read what the code does to the holder’s balance. CertiK’s investigation · Exact contract on BscScan

A conventional ERC-20 allowance gives a spender permission to transfer some amount on a holder’s behalf. The holder’s balance is recorded separately. A token can expose familiar ERC-20 method names while giving those methods unusual side effects. ERC-20 methods and events

Can a token contract erase your balance?

Some token contracts give a privileged account the power to change a holder’s balance. Compare the contract’s balance for your address at the end of the buy block and a later block. Check transfer logs and any admin calls between those reads. CertiK’s investigation · ERC-20 balance method

Compare the receipt with the balance at two blocks

Start with the original buy. Write down the contract address, the recipient, the block number and the amount in the token’s own decimals. Use the address that received the tokens. The wallet that submitted the transaction can differ from the recipient.

Read balanceOf for that address at the end of the buy block. Read it again at the end of a later block, after the balance changed. An archive RPC or historical balance endpoint can read past state. If buying and a balance change happened inside one block, an end-of-block read can miss the intermediate balance. Use a transaction trace when you need to distinguish those steps. ERC-20 balance method · Geth’s RPC reference · Etherscan’s paid historical balance endpoint

What you find Where to look next
An outgoing transfer explains the change Open the receipt and identify the sender, spender and recipient. Look for a swap, bridge, staking deposit or an unexpected spend.
The token balance fell across many holders in the same block Check the project’s supply policy. A documented proportional rebase can change balances across the token.
A specific holder lost tokens, and the transfer history leaves the loss unexplained Check the token’s verified code and nearby admin calls. An explorer view built from events can miss a balance change that the contract recorded without a corresponding transfer event.

Cross-check the chain and full contract address whenever two tools disagree. Display rounding, stale indexing and a token with the same name can send you to the wrong wallet balance. Ampleforth documents how its own proportional rebase works. Ampleforth supply policy

Check who can change a holder’s balance

In verified source, look for instructions that let a privileged account burn, seize or rewrite another wallet’s tokens. Follow any owner and role checks to see who can call those functions. If the token uses an upgradeable proxy, inspect the active implementation and the authority that can replace it. Some projects disclose these powers and explain where they apply. An undisclosed power to zero a specific holder’s balance is a reason to walk away from a trade. OpenZeppelin’s access control guide · OpenZeppelin’s proxy reference

Save the buy receipt, the two block numbers and the token contract. They let you check whether the amount arrived and narrow down when it disappeared. If the balance is still there, the next step is to read the failed transfer and check for a wallet restriction. How to spot a sell blacklist or allowlist