dfd

Returns 10 balance updates on Base, where currency smart contract is 0x532f…42e4, sorted by balance, highest first: sum of balance update amount, smart contract, currency name, currency symbol and balance update address.

By Omkar_BQ · saved 12 November 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: base, dataset: archive) {
    BalanceUpdates(
      limit: {count: 10}
      orderBy: {descendingByField: "Balance"}
      where: {Currency: {SmartContract: {is: "0x532f27101965dd16442e59d40670faf5ebb142e4"}}, Block: {}}
    ) {
      Balance: sum(of: BalanceUpdate_Amount)
      Currency {
        SmartContract
        Name
        Symbol
      }
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries