getBlockHeights
GET https://api.covalenthq.com/v1/:chainName/block_v2/:startDate/:endDate/?page-size=&page-number=
Returns: BlockHeightsResponse
{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"signed_at" : "{{DATETIME}}",
"height" : "{{INTEGER}}"
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page-size | null | ||
page-number | null |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |