![]() ![]() the number of NFTs that are directly linked to this Collection NFT. Size: The size of the collection, i.e.This option is a struct that contains the following field: The CollectionDetails is an optional enum which currently contains only one option V1. If the CollectionDetails field is set, it means the NFT is a Collection NFT and additional attributes can be found inside this field.If the CollectionDetails field is set to None, it means the NFT is a Regular NFT.It provides additional context on Collection NFTs and differentiate them from Regular NFTs. That's why the CollectionDetails field was created. The Collection field alone allows us to link NFTs and Collections together but it doesn't help us identify if a given NFT is a Regular NFT or a Collection NFT. More on that below.ĭifferentiating Regular NFTs from Collection NFTs. Verified: This boolean is very important as it is used to verify that the NFT is truly part of the collection it points to.This Mint Account must be owned by the SPL Token program. More precisely, it points to the public key of the Mint Account of the Collection NFT. Key: This field points to the Collection NFT the NFT belongs to.If the Collection field is set, it means the NFT is part of the collection specified within that field.Īs such, the Collection field contains two nested fields:.If the Collection field is set to None, it means the NFT is not part of a collection.The optional Collection field on the Metadata account has been created for that purpose. Ĭollection NFTs and Regular NFTs are linked together using a "Belong To" relationship on the Metadata account. The difference between a Collection NFT and a Regular NFT is that the information provided by the former will be used to define the group of NFTs it contains whereas the latter will be used to define the NFT itself. It has the same data layout on-chain as any other NFT. ![]() ![]() That's right, a collection of NFT is itself, an NFT. In order to group NFTs - or any token - together, we must first create a Collection NFT whose purpose is to store any metadata related to that collection. The additional CollectionDetails field has been added in version 1.3. It replaces the collection field previously defined in external JSON metadata. The on-chain Certified Collection feature has been added to the Token Metadata program in version 1.1. ![]()
0 Comments
Leave a Reply. |