Spending 10k points for one data point

Returns one block on Ethereum and BNB Chain, where date till 2022-05-30, sorted by height, highest first: timestamp time and height.

By DShin · saved 18 July 2022 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network){
    blocks(
      options: {desc: "height", limit: $limit, offset: $offset}
      date: {till: $till, since: $from}
    ) {
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      height
    }
  }
}

Variables

{"limit": 1, "offset": 0, "network": "bsc", "till": "2022-05-30", "dateFormat": "%Y-%m-%d"}

Similar queries