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

NftTokenByAddressErc721TokenMetadata

Model getters

Method name Return type Description Notes
getTokenId() string (EVM-based blockchains only) The ID of the NFT owned by this address
Example: 123
[optional]
getUrl() string The URL pointing to the NFT metadata; the URL may not be present, and if it is not returned, you can get it by calling the NFT Contract.tokenURI() method
Example: ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc
[optional]
getMetadata() object The metadata scheme obtained from the metadata URL; the scheme may not be present, and if it is not returned, you can get it using the NFT metadata API
Example: {"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}
[optional]