Update Token-type Metadata
🚧Note: This endpoint allows you to update the metadata, some attributes are defined on the NFT contract and therefore not updatable.
Here is a list of the attributes that cannot be updated:
fungible
burnable
maxSupply
Request Endpoint: reference
HTTP
PUT /api/v2/contracts/{secretType}/{contractAddress}/token-types/{tokenTypeId}/metadataParameter
Param Type
Description
Data Type
Mandatory
{secretType}
Path
The blockchain of the contract.
String
✅
{contractAddress}
Path
The contract address.
String
✅
{tokenTypeId}
Path
The id of the token-type whose metadata you want to update.
Integer
✅
Example Request:
HTTP
PUT /api/v2/contracts/MATIC/0x30d6cff9cb268c59c75a94755b2c60e118d65657/token-types/1/metadataJSON
{
"name": "Token-type name updated",
"description": "Description Updated",
"image": "www.image-url-updated.com.png"
}Response Body:
JSON
Last updated