getNftExternalMetadataForContract
GET https://api.covalenthq.com/v1/:chainName/tokens/:contractAddress/nft_metadata/:tokenId/
Returns: NftMetadataResponse{
"updated_at" : "{{DATETIME}}",
"items" : [ {
"contract_name" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"is_spam" : "{{BOOLEAN}}",
"type" : "{{STRING}}",
"nft_data" : {
"token_id" : "{{STRING}}",
"token_url" : "{{STRING}}",
"original_owner" : "{{STRING}}",
"external_data" : {
"name" : "{{STRING}}",
"description" : "{{STRING}}",
"asset_url" : "{{STRING}}",
"asset_file_extension" : "{{STRING}}",
"asset_mime_type" : "{{STRING}}",
"asset_size_bytes" : "{{STRING}}",
"image" : "{{STRING}}",
"image256" : "{{STRING}}",
"image512" : "{{STRING}}",
"image1024" : "{{STRING}}",
"animation_url" : "{{STRING}}",
"external_url" : "{{STRING}}",
"attributes" : [ {
"trait_type" : "{{STRING}}",
"value" : "{{STRING}}"
} ]
},
"asset_cached" : "{{BOOLEAN}}",
"image_cached" : "{{BOOLEAN}}"
}
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS