cURL
curl --request GET \ --url https://api.chainbase.online/v1/nft/metadata \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "data": { "blockchain": "<string>", "contract_address": "<string>", "token_id": "<string>", "erc_type": "<string>", "name": "<string>", "owner": "<string>", "symbol": "<string>", "image_uri": "<string>", "mint_time": 123, "mint_transaction_hash": "<string>", "token_uri": "<string>", "metadata": "<any>", "traits": "<any>", "rarity_score": 123, "rarity_rank": 123 } }
Get the metadata associated with the specified NFT.
"demo"
chain network id, see list of details
The address of the NFT contract
NFT token id in hex or num string
Successful Response
The response is of type object.
object