task3a_salesEngineer

To find the top 1000 whale accounts

Returns 1000 balance updates on Ethereum, where balance update amount is at least 10000000, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By George · saved 24 February 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Amount: {ge: "10000000"}}}
      orderBy: {descendingByField: "balance"}
      limit: {count: 1000}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries