Skip to content
CryptoSober

Glossary · Technical

Blacklist function

A blacklist function is code in a token contract that lets its controller block chosen addresses from sending, receiving or selling the token.

By Abu HosainPublished 1 min read

In simple terms

A blacklist function lets whoever controls a token freeze it at particular addresses. A blocked address still shows a balance, but cannot move it.

How it works

The token's smart contract keeps a list of blocked addresses. Every transfer checks the list first and fails if the sender, and sometimes the receiver, is on it. Only an address with the right permission, usually the contract owner or a dedicated role, can add or remove entries.

The feature has lawful uses. Issuers of regulated stablecoins can freeze tokens linked to theft or sanctions when required by law. The same mechanism can be misused by an anonymous token creator.

Example

A new token lets anyone buy. Shortly after each purchase, the owner adds the buyer's address to the blacklist. Buyers hold tokens that rise in price on the chart and can never be sold.

Why it matters for safety

In a small, unknown token, a blacklist controlled by a single address is one of the main ways a honeypot is built. Its presence is not proof of fraud, and you should weigh it with who holds the power and how they have used it. In a stablecoin, it means your balance can be frozen by the issuer. Either way, it is a fact worth knowing before you hold a token. Coin Check reports whether a contract can blacklist addresses.

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.