maximum block

Returns one block on Ethereum and BNB Chain, where date till 2022-05-30: maximum of block.

By gaurav · saved 18 July 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    blocks(
      options: {limit: $limit, offset: $offset}
      date: {till: $till}
    ) {
      maximum(of: block)
    }
  }
}

Variables

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

Similar queries