getChainCollections
GET https://api.covalenthq.com/v1/:chainName/nft/collections/?page-size=&page-number=&no-spam=
Get a paginated list of collections that have been cached for the chain Returns: ChainCollectionResponse{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"contract_address" : "{{STRING}}",
"contract_name" : "{{STRING}}",
"is_spam" : "{{BOOLEAN}}",
"token_total_supply" : "{{INTEGER}}",
"cached_metadata_count" : "{{INTEGER}}",
"cached_asset_count" : "{{INTEGER}}",
"last_scraped_at" : "{{DATETIME}}"
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
page-size
|
null | ||
page-number
|
null | ||
no-spam
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS