getNFTMetadata
Gets the metadata associated with a given NFT.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Query Parameters
contractAddressstringrequireddefaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330String - Contract address for the NFT contract (ERC721 and ERC1155 supported).
tokenIdstringrequireddefaults to 44String - The ID of the token. Can be in hex or decimal format.
tokenTypestringString - 'ERC721' or 'ERC1155'; specifies type of token to query for. API requests will perform faster if this is specified.
tokenUriTimeoutInMsintegerNo set timeout by default - When metadata is requested, this parameter is the timeout (in milliseconds) for the website hosting the metadata to respond. If you want to only access the cache and not live fetch any metadata for cache misses then set this value to 0.
refreshCachebooleandefaults to falseDefaults to false for faster response times. If true will refresh metadata for given token. If false will check the cache and use it or refresh if cache doesn't exist.