balance_of_a_wallet

Provides the balance of a wallet using API v2

Returns balance updates on Ethereum, where balance update address is 0xcf1D…35f6, sorted by balance, highest first: currency name, currency symbol, smart contract, sum of balance update amount and balance update address.

By Dimitar Tarpanov · saved 13 January 2025 · run 8 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xcf1DC766Fc2c62bef0b67A8De666c8e67aCf35f6"}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Symbol
        SmartContract
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries