Skip to content
Crypto News

Blockchain markets, protocols and regulation

How to check whether a Solana token has a transfer hook on its mint

How to check whether a Solana token has a transfer hook: verify its exact mint, identify the token program, then read Token-2022 extensions and the hook address.

The Crypto News Editors

How to check whether a Solana token has a transfer hook on its mint

To find out whether a Solana token has a transfer hook, look up its exact mint address, check which token program owns the mint, then inspect its decoded extensions. A Token-2022 mint with a configured Transfer Hook extension lists the hook program address.

  • Match the token to its exact mint address.
  • Check the mint account’s owner.
  • For Token-2022, find Transfer Hook in the decoded extensions and note its program address.

The mint’s owning program tells you what to inspect

Start with the mint address in a reliable Solana explorer or token inspection tool. A token name or ticker can refer to different mints, so confirm the address against a source you trust before reading the account. The mint is the account that holds the token’s configuration.

A rugcheck reviews a token for warning signs, while this check answers a narrower question about its mint. For more on rugcheck and mint permissions, see our map of where Solana token permissions are stored.

Say you find a token called North Star with a ticker that looks familiar. The name alone does not tell you which mint to inspect. In this illustrative case, you confirm the exact mint address, open its account, and read the owner field. That field identifies the token program responsible for the mint.

If the owner is the original SPL Token program, this Token-2022 extension check does not apply. If the owner is Token-2022, inspect the mint’s decoded extension data. Starting with the owner matters because Token-2022 supports the Transfer Hook extension; the original SPL Token program is the main alternative in this check.

In the decoded extensions, look for “Transfer Hook.” If it appears with a hook program address, the mint has a configured transfer hook. Record the address: it identifies the program involved in token transfers and gives you a specific program to investigate further.

If the tool does not show decoded extensions, the result is incomplete. Use an inspection tool that understands Token-2022 and can decode mint extensions, then check the same mint address again. A missing display is not confirmation that the extension is absent.

After that inspection, the North Star example has not changed: it is still the same mint with the same owner. What changed is the information you have about it. You now know whether its Token-2022 extension data lists a Transfer Hook and, if configured, which program address to follow up on. That is a useful part of a rugcheck, but the address itself is the answer to the hook question.

Related questions

What is a Solana transfer hook?

A Solana transfer hook is a Token-2022 mint extension that identifies a program involved in token transfers when configured.

Where to find Token-2022 mint extensions?

Find them in the decoded extension data for the Token-2022 mint account, after confirming the mint’s owning program.

  • Confirm the exact mint address.
  • Read the mint’s owning program.
  • For Token-2022, decode its extensions and note any Transfer Hook program address.