height_timestamp

Returns 1000 blocks on heimdall, where time since 2023-10-07 and time till 2023-10-07, sorted by height, highest first: unixtime and height.

By Howard Sun · saved 7 October 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cosmos(network: $network) {
    blocks(
      options: {desc: "height", limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      timestamp {
        unixtime
      }
      height
    }
  }
}

Variables

{
  "limit": 1000,
  "offset": 0,
  "network": "heimdall",
  "from": "2023-10-07T07:06:40.000Z",
  "till": "2023-10-07T07:36:40.000Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries