How to Update the NFT Metadata
A tutorial showing how to update NFT metadata via Mantle Explorer
Mantle v2 Tectonic has been released, please move to the new documentation!
Mantle Explorer now offers a streamlined process for updating NFT metadata, ensuring that your NFT information stays accurate and current. There are two methods to update the metadata
Manual Update via Explorer Frontend
Navigate to the specific NFT's detail page on our explorer.
Click the
Refetch Metadata
button manually to initiate an immediate metadata update.
![](https://docs.mantle.xyz/~gitbook/image?url=https%3A%2F%2F3701411312-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNHXgeqhgrznnRobzznxl%252Fuploads%252FMmogcXaAC2lZijJVNGvl%252F206edf41-ceda-44db-a559-0a00f67733f1.jpeg%3Falt%3Dmedia%26token%3D4ded8b5b-720b-423b-a83b-65c15afb1671&width=768&dpr=4&quality=100&sign=78529fc7&sv=1)
Update via the Explorer API
Developers and power users can leverage the Explorer API for a programmatic approach to metadata updates.
Make a call to the API endpoint:
https://explorer.mantle.xyz/api/v1/asset/{token_address}/{token_id}
The metadata will be refreshed automatically after the API request is made.
For example: https://explorer.mantle.xyz/api/v1/asset/0xfebaf2241d4947e5724d136e8ba8cfeeef9b4157/2
Batch Updates for Developers
For developers handling multiple NFTs, implementing a loop to call the API interface for various token IDs allows for efficient batch updates.
Use the endpoint:
https://explorer.mantle.xyz/api/v1/asset/{token_address}/{token_id}
for requesting metadata of multiple token IDs and initiating updates.
Last updated