Revoking Token Delegates on Solana
Updated · 4 min read
The SPL Token program lets an owner approve a delegate to transfer up to a set amount from a token account. Drainers often trick users into granting such approvals.
Check for delegates
Block explorers show a delegate field on token accounts that have one. Any delegate you do not recognize should be removed.
Revoke
Some wallets offer a revoke option. With the CLI, the revoke command removes the delegate from a token account you own.
spl-token revoke <TOKEN_ACCOUNT_ADDRESS>
Closing removes it too
Once an empty token account is closed, any delegate on it disappears together with the account.
Check your wallet for locked SOL
Scan any Solana address for empty token accounts and see exactly how much rent you can reclaim. Free to check, non-custodial to close.
Frequently asked questions
Does a reclaim transaction create approvals?
A legitimate one does not. It only contains close instructions and a fee transfer.
