Update Contract Metadata
Endpoint that allows you to update the metadata of an NFT contract/collection.
This endpoint enables you to modify the metadata of an existing NFT contract. You can update various attributes such as name
, symbol
, description
, image
, externalUrl
, and media
. the blockchain and the contract address in the path, and supply the updated values in the request body as shown below to update contract metadata.
Request Endpoint: reference
PATCH /api/v2/contracts/{secretType}/{contractAddress}/metadata
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
{secretType} | Path | The blockchain of the contract. | String | ✅ |
{contractAddress} | Path | The contract address. | String | ✅ |
Example Request:
PATCH /api/v2/contracts/MATIC/0xfc5500094af58ded18e92da5ff1dd7cc84b74633/metadata
{
"name": "Updated NFT Contract Name",
"symbol": "UPDATED",
"description": "Updated description",
"externalUrl": "www.updated-image-url.com.png"
}
Response Body:
{
"success": true,
"result": {
"name": "Updated NFT Contract Name",
"description": "Updated description",
"symbol": "UPDATED",
"externalUrl": "www.updated-image-url.com.png",
"image": "https://techround.co.uk/wp-content/uploads/2022/01/Venly-logo.png",
"media": [],
"external_link": "www.updated-image-url.com.png"
}
}
Updated 5 months ago