balance_of_a_wallet_with_date_filter

Provides the balance of a wallet using API v2

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

By Omkar_BQ · saved 14 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

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

Similar queries