Moralis MCP Server

Official
by MoralisWeb3

reSyncMetadata

Resync NFT metadata by fetching the latest token URI or updating metadata directly. Supports both synchronous and asynchronous modes to ensure accurate and efficient updates for NFT contracts.

Instructions

Resync the metadata for an NFT

  • The metadata flag will request the NFT's metadata from an already existing token_uri
  • The uri (default) flag will fetch the latest token_uri from the given NFT contract address. In sync mode the metadata will also be fetched
  • The sync mode will make the endpoint synchronous so it will wait for the task to be completed before responding
  • The async mode (default) will make the endpoint asynchronous so we will wait for the task to be completed before responding

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the NFT contract
flagNoThe type of resync to operate
modeNoTo define the behaviour of the endpoint
token_idNoThe ID of the token

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address of the NFT contract", "type": "string" }, "flag": { "description": "The type of resync to operate", "enum": [ "uri", "metadata" ], "type": "string" }, "mode": { "description": "To define the behaviour of the endpoint", "enum": [ "async", "sync" ], "type": "string" }, "token_id": { "description": "The ID of the token", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8