Query elrond shards

Returns blocks on elrond, where date since 2021-11-02: shard, maximum of height and maximum of time.

By Aleksey · saved 1 December 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: ElrondNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  elrond(network: $network) {
    blocks(date: {since: $from, till: $till}) {
      shard
      max_height: maximum(of: height)
      hash: maximum(of: height, get: hash)
      max_time: maximum(of: time)
    }
  }
}

Variables

{
  "limit": 4,
  "offset": 0,
  "network": "elrond",
  "from": "2021-11-02",
  "till": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries