Refresh NFT metadata by contract

This endpoint enables you to submit a background task. The task will refresh the metadata of the entire contract after review.

API Endpoint

https://open-platform.nodereal.io/{apiKey}/nftscan

method_path:/api/v2/refresh/metadata/contract/{chain_name}

method_type:POST

Request:

ParametersDescriptionsQuery TypeRequiredData Typeschema
chain_nameName of the chain you’re querying. List of supported values: "eth" for Ethereum; "bnb" for BNB Smart Chain; "polygon" for Polygon; "moonbeam" for Moonbeam; "arbitrum" for Arbitrum One; "optimism" for Optimism; "platon" for PlatON; "avalanche" for Avalanche; "cronos" for Cronos; "fantom" for Fantom; "gnosis" for Gnosis;pathtruestring
ContractMetadataTaskReqContractMetadataTaskReqbodytrueContractMetadataTaskReqContractMetadataTaskReq
  contract_addressThe contract addresstruestring

Request Example:

{
  "contract_address": "0x3e855b7941fe8ef5f07dad68c5140d6a3ec1b286"
}

Response:

ParametersDescriptionsData Typeschema
codeResponse status code (200 means the request was successful, 4XX or 5XX means the request failed)integer(int32)integer(int32)
dataResponse dataTaskRetModelTaskRetModel
  reasonThe reason for the FAIL statusstring
  statusTask status. SUCCESS means the task was successfully submitted, FAIL means the task was not submitted due to some reasonstring
msgError message when request failsstring

Example:

{
	"code": 200,
	"data": {
		"reason": "task already exists",
		"status": "SUCCESS"
	},
	"msg": ""
}