simple question here, how can I tell if an NFT is frozen without test-sending? Is there a field in the metadata, or a way I can acquire that information through metaplex? Thanks :)

1 Answer 1


here @solana/spl-tokensdk needs to be used after installing the sdk you have to import getAccount

import { getAccount } from '@solana/spl-token';

after passing all the right parameter's this function is going to return a Account object in a promise so promises needs to be used over here to get the Account object. getAccount return Type

Once there is the Account object it's going to contain all these parameters and there is a parameter called isFrozen if it's true than it would mean that the token is frozen if it's false then it's not frozen. enter image description here

i haven't personally used this function ever but let me know if you get any errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.