Skip to main content

Contract Metadata

info

ChainQuery API is currently in beta. Report any bugs to support@nirvanalabs.ai

Type

GET

Description

Retrieve the contract level metadata for a given address

Parameters

  • address - NFT contract address

Code

var axios = require('axios');

var config = {
method: 'get',
url: 'https://api.nirvanalabs.xyz/nfts/contracts/metadata?address=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d',
headers: { }
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});


Sample Response

[
{
"address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"name": "BoredApeYachtClub",
"symbol": "BAYC",
"type": "ERC721",
"created_at": "2022-10-23T15:52:13.381Z"
}
]