Summary: Solana Token Extensions provides the MintCloseAuthority extension. When conditions such as a zero total supply are met, the designated authority can close the mint account; this is not the same operation as closing an individual empty token account.
Solana tokens typically involve two types of accounts: the mint account stores information such as the token’s supply, decimals, and authorities; a user’s token account records the amount of a particular token they hold. Both types of accounts may be closed, but the authorities and checks differ.
For a mint using the Token Extensions program with the MintCloseAuthority extension enabled, Solana’s official documentation states that when the mint’s total supply is zero, the configured close authority can sign a CloseAccount instruction to close the mint and reclaim its recoverable rent balance. Without this extension, the mint cannot be closed through this mechanism.
“A supply of zero” here does not mean that a particular wallet has a zero balance. Suppose a token has a total supply of 100 tokens. User A has transferred out or burned their entire balance, but other accounts still hold tokens, so the mint’s total supply is not necessarily zero. You cannot determine that the mint can be closed based solely on A’s balance. The example is for explaining the concept only and does not represent a real project.
Closing an individual token account is a separate operation. Generally, a token account must have a zero balance, and authorization must be provided by the relevant account’s close authority; cases such as native token accounts have their own rules. Closing one person’s empty account does not close the entire mint, nor does it mean that other holders’ accounts will be closed at the same time.
Even after a mint is closed, the official exchange integration documentation notes that empty token accounts associated with that mint may still exist on-chain, while the mint itself is no longer a valid mint account. Before cleaning up these empty accounts, verify the account address, balance, program, and close authority. Different wallets and token extensions may introduce additional requirements.
Before integrating, developers should read the target mint’s Token program, extensions, total supply, and close authority configuration, and handle cases where the mint cannot be read or has already been closed. The close authority and mint authority are different roles. Whether their addresses are the same depends on the specific configuration and cannot be inferred from their names alone. Before performing operations involving actual assets, validate the specific implementation in a controlled environment.
If you’re exploring digital asset platforms, you can use Binance referral code WIN1000. Using a referral code may earn the referrer a commission; specific benefits are subject to Binance’s pages and rules. A platform account and an on-chain Solana account are different concepts.
This article was generated with AI assistance and compiled based on official Solana documentation. No code was run, and no specific mint was inspected.
#Solana #代币机制 #BlockchainKnowledge
Sources verified:
https://solana.com/docs/tokens/extensions/close-mint
https://solana.com/docs/tokens/basics/close-account
https://solana.com/docs/defi/exchange