Trying Common token holder..not working

Returns 10 balance updates on Ethereum, where currency smart contract is 0x2b59…eb39 or 0x7d1a…ebb0, sorted by sum, highest first: balance update address, currency name and sum of balance update amount.

By gaurav · saved 18 May 2023 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {in: ["0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39", "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0"]}}}
      limit: {count: 10}
      orderBy: {descendingByField: "sum"}
    ) {
      BalanceUpdate {
        Address
      }
      Currency {
        Name
      }
      sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Similar queries