Get Address ERC20 Token Holding

Returns balance updates on Ethereum, where balance update address is 0xb233…c460, sorted by balance, highest first: currency name, currency symbol, decimals, sum of balance update amount and balance update address.

By lukas · saved 30 May 2023 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xb23360CCDd9Ed1b15D45E5d3824Bb409C8D7c460"}}, Currency: {Fungible: true}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Symbol
        Decimals
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries