Resource NFT
The core resource that represents a Non Fungible Token. New instances will be created using the NFTMinter resource and stored in the Collection resource
Implemented Interfaces:
NonFungibleToken.INFT
MetadataViews.Resolver
Initializer​
Functions​
fun getViews()
​
Function that returns all the Metadata Views implemented by a Non Fungible Token
developers to know which parameter to pass to the resolveView() method.
Returns: An array of Types defining the implemented views. This value will be used by
fun resolveView()
​
Function that resolves a metadata view for this token.
Parameters:
- view : The Type of the desired view.
Returns: A structure representing the requested view.