Address balance by currencies

Returns 10 balance updates on Ethereum, where balance update address is 0x1f90…c326, sorted by count, highest first: chain ID, count, currency symbol, smart contract and sum of balance update amount.

By Nadia · saved 25 July 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $address: String!) {
  EVM(network: $network, dataset: combined) {
    BalanceUpdates(
      limit: {count: $limit}
      orderBy: {descendingByField: "count"}
      where: {BalanceUpdate: {Address: {is: $address}}}
    ) {
      ChainId
      count
      Currency {
        Symbol
        SmartContract
      }
      sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0.0"})
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "eth",
  "address": "0x1f9090aae28b8a3dceadf281b0f12828e676c326"
}

Similar queries