Skip to main content Link Menu Expand (external link) Document Search Copy Copied

NftTokenByCollectionErc721TokenMetadata

Model getters

Method name Return type Description Notes
getTokenId() string TokenID of the NFT token owned by this address.
Example: 123
[optional]
getUrl() string Metadata URL of the TokenID. This data don’t have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.
Example: ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc
[optional]
getMetadata() object Metadata scheme obtained from the url. This data don’t have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.
Example: {"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}
[optional]