user profile

Returns balance updates on Base and BNB Chain, where balance update address is 0x1b72…fDA7, sorted by balance, highest first: currency name, currency symbol, smart contract, decimals, native, protocol name and sum of balance update amount.

By funplay · saved 18 March 2025 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query ($walletAddress: String!) {
  Base: EVM(network: base, dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: $walletAddress}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Symbol
        SmartContract
        Decimals
        Native
        ProtocolName
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
  Bsc: EVM(network: bsc, dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: $walletAddress}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Symbol
        SmartContract
        Decimals
        Native
        ProtocolName
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Variables

{"walletAddress":"0x1b7272b245939A0aaA4E5957671113913B2ffDA7"}

Similar queries