algorand reward

Returns 10 blocks on Algorand, where date since 2022-12-27 and date till 2023-01-03, sorted by count, highest first: proposer address, annotation, count, minimum of date, maximum of date and reward.

By gaurav · saved 3 January 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  algorand {
    blocks(
      options: {desc: "count", asc: "address.address", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
    ) {
      address: proposer {
        address
        annotation
      }
      count
      min_date: minimum(of: date)
      max_date: maximum(of: date)
      reward(calculate: sum)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "from": "2022-12-27",
  "till": "2023-01-03T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries