1

I mint many NFT for our game project and give to users.

My smart-contract must check that NFT mint by me.

so, what is the best way to check?

  1. check Metadata's Update Authority.
  2. check Metadata's Collection Address.
  3. is there any other way?

2 Answers 2

1

The best way to verify any NFT onchain is to check for the verified creator on metadata account of the mint. If the collection is set on them then you can verify the collection as well.

More detailed answer can be found here -

On Chain: How can i verify if an account holds a NFT of a particular collection?

0

You can just that check your mint authority address is the wallet address that minted the NFT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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