Litecoin top miner

Returns 10 outputs on Bitcoin and Litecoin, where output direction is mining, output script type is not nulldata or nonstandard and date since 2021-01-01, sorted by reward, highest first: output address address, annotation, value, count, minimum of date and maximum of date.

By Mann · saved 8 January 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    outputs(
      options: {desc: "reward", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      txIndex: {is: 0}
      outputDirection: {is: mining}
      outputScriptType: {notIn: [nulldata, nonstandard]}
    ) {
      address: outputAddress {
        address
        annotation
      }
      reward: value
      count(uniq: blocks)
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "litecoin",
  "from": "2021-01-01",
  "till": "2022-01-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries