Test Query

Returns 20 balance updates on BNB Chain, where currency smart contract is 0x55d3…7955, sorted by balance, highest first: balance update address and sum of balance update amount.

By Omkar Acharekar · saved 19 October 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc, dataset: archive) {
    BalanceUpdates(
      limit: {count: 20}
      orderBy: {descendingByField: "balance"}
      where: {Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}
    ) {
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries