Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Remove NFT from a Collection

Say i have an NFT generated from CandyMachine. Candy Machine will automatically set a Collection to the NFTs. I want to remove a specific NFT from that collection. I don’t want it to be transferred to other NFT collection. I just want to remove its collection attribute

is this possible?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes it is absolutely possible to remove a NFT from a collection.

You can use the unverify instruction for it. This will set the verified to false and with this basically remove it from collection. It will not remove the key string from metadata, but that should not be an issue since a NFT is only part of a collection if verified is true. To remove any traces in the metadata you could also use the set and verify instruction to set a different collection value.

Easiest method to do this is using metaboss:

metaboss collections unverify [FLAGS] [OPTIONS] --collection-mint <collection-mint> --nft-mint <nft-mint>

If you want to replace the collection use

metaboss collections set-and-verify [FLAGS] [OPTIONS] --collection-mint <collection-mint> --nft-mint <nft-mint> --update-authority-nft <update-authority-nft>
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading