token holder api using balance update

Returns 10 balance updates on Ethereum, where currency smart contract is 0x6982…1933, block date since 2023-04-14 and block time till 2025-05-22, sorted by balance, highest first: balance update address and sum of balance update amount.

By gaurav · saved 22 May 2025 · run 17 times · Bitquery API v2

What it returns

Filters

The query

query fetchBalances {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      limit: {count: 10, offset: 0}
      orderBy: {descendingByField: "balance"}
      where: {Currency: {SmartContract: {is: "0x6982508145454ce325ddbe47a25d4ec3d2311933"}}, Block: {Date: {since: "2023-04-14"}, Time: {till: "2025-05-22T08:48:40.00Z"}}}
    ) {
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Similar queries