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

  1. Navigate to the specific NFT's detail page on our explorer.

  2. Click the Refetch Metadata button manually to initiate an immediate metadata update.

Update via the Explorer API

Developers and power users can leverage the Explorer API for a programmatic approach to metadata updates.

  1. Make a call to the API endpoint:{token_address}/{token_id}

  2. The metadata will be refreshed automatically after the API request is made.

For example:

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:{token_address}/{token_id} for requesting metadata of multiple token IDs and initiating updates.

Last updated