Retrieve Contract Metadata
How to retrieve the metadata of an NFT contract/collection.
This API endpoint allows you to fetch detailed metadata about a specific NFT contract by providing the blockchain network and the contract address. This metadata includes crucial information about the NFT collection governed by the contract, such as its name, symbol, description, etc.
Request Endpoint: reference
GET /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:
GET /api/v2/contracts/MATIC/0xfc5500094af58ded18e92da5ff1dd7cc84b74633/metadata
Response Body:
{
"success": true,
"result": {
"name": "NFT Collection",
"description": "Sample description",
"symbol": "NFTC",
"externalUrl": "www.venly.io",
"image": "https://techround.co.uk/wp-content/uploads/2022/01/Venly-logo.png",
"media": [],
"external_link": "www.venly.io"
}
}
Updated 5 months ago