Skip to main content

Collection - Metadata Refresh

Learn how to refresh the data metadata for NFTs in case of your off-chain metadata is updated and change some of properties.

info

Please note , in the refreshMetadata() and recrawlBatchNftMetadata() function , the off-chain data for your NFTs assets would be refreshed based on the latest data which is retrieved from your of NFT's metadataURL and will be cached in Myria storage for a while until the next refresh time.

Refresh Metadata For Single NFT/Asset

Only one NFT's metadata is refreshed at the single time, you can use refreshMetadata(), it can reference at this link.

Refresh Metadata For Multiple NFTs/Assets

The metadata for the batch of NFTs/assets are refreshed, you can use recrawlBatchNftMetadata(), it can reference at this link.