What Is a Honeypot Token? Checks Before You Buy
A honeypot token lets you buy but blocks or confiscates sells. Learn how to check a TRC-20 contract, owner controls and recent trades before swapping.
The Blockchain Brief Desk5 min read
A honeypot token is a token whose contract lets you buy but blocks or confiscates your sell, trapping the money you put in.
Think of a shop that takes your payment at the entrance but locks the exit when you try to leave. A honeypot contract applies that one-way rule to token transfers: tokens can move out of the liquidity pool to buyers, while ordinary holders’ transfers back into the pool are rejected or heavily taxed.
SunSwap is a TRON decentralized exchange where people swap TRC-20 tokens through liquidity pools. That pool-based swap flow is the setting for the publication’s safer SunSwap trading checks: the same token contract that allows a pool purchase can treat a later sale differently.
How does a honeypot token block a sale?
The token contract’s transfer logic can distinguish a buy from a sell by checking whether tokens are moving from a pool or into one. A contract can allow the first direction and restrict the second for regular wallets.
Common controls include:
- Blacklists: An owner can block selected wallet addresses from transferring tokens, including into a pool.
- Whitelists: Transfers may be allowed only for approved addresses, leaving ordinary buyers unable to sell.
- Sell caps: A maximum-sell rule can limit how many tokens a holder may send to the pool.
- Sell taxes: A contract can take a large share of a sale, potentially leaving the seller with almost nothing.
- Pause controls: A pause function can stop transfers while it is active, depending on how the contract applies it.
On a swap, the buyer’s transaction can confirm because the pool sends tokens to the buyer. Later, when the holder tries to sell, the token contract may reject the transfer into the pool. The transaction reverts, but the attempted on-chain transaction still consumes Energy. A failed sale can therefore cost resources even though no tokens were sold.
Owner controls make timing a key part of the check. An owner-only function may turn on a blacklist, change a sell cap or raise the fee after launch. A test sell that succeeds records what the contract allowed at that moment; it does not remove the owner’s ability to change the rules later. Check whether ownership is renounced and whether any owner-only functions can alter selling conditions.
How can you check a TRC-20 token before buying?
Use the token contract address and Tronscan to inspect the code and recent on-chain activity before swapping. The check should establish that the source is verified, identify controls that can change selling, and show other wallets completing sells.
- Open the contract on Tronscan. Search by the token’s contract address, not just its name. This leaves you on the record for the specific token you plan to buy.
- Confirm the code is verified. Verified source lets you read the contract’s functions. If the source is unverified, you cannot inspect its sell logic; treat the token as high risk.
- Search for transfer controls. Look for blacklist, pause, setFee and maxSell functions, along with whitelist rules. Read how they affect transfers into the pool and whether the owner can change them.
- Check ownership. Review the contract’s owner state and whether ownership is renounced. If the owner still has functions that can change sell rules, a successful test sell only shows that selling worked under the current settings.
- Review recent transactions. Look for successful sells by other wallets, not only buys or transfers between holders. A holders list full of buyers and no sellers is a warning signal to investigate.
Take a buyer who has a token address and is considering a pool swap. They open its Tronscan contract page and see that the source is verified. They inspect the transfer rules and find a maxSell function the owner can change. Next, they check ownership and see that it remains active, then review recent transactions and find buys but no successful sells by other wallets. The contract’s current rules can still be changed, and the transaction history offers no evidence of ordinary holders exiting. The buyer has reason to stop before swapping.
Can you get money back from a honeypot token?
Getting money back depends on whether the contract currently allows a sell or whether its owner changes the restriction. If a sell reverts, the tokens remain in the wallet, but the attempted transaction still costs Energy. A near-total sell tax can also consume nearly all the sale proceeds. There is no general reversal built into the swap: the token contract must permit a transfer out through a sale.
Is a high sell tax the same as a honeypot?
A high sell tax is not automatically a honeypot, but a tax near 100% can make selling functionally worthless. The distinction is in the effect: a blocked transfer reverts, while a taxed transfer may complete and deliver only a small amount. Check the fee-setting code and whether the owner can raise the tax after launch.
Related
- Verify the contract source and inspect sell restrictions before swapping.
- Review successful sells by other wallets and check who can change the rules.
- Treat a revert, near-total sell tax or owner-controlled sell function as a serious warning.