Balance by token address

Returns balance updates on Ethereum, where balance update address is 0xF2D7…ab50: currency name, smart contract and sum of balance update amount.

By Abhisar Mittal · saved 8 July 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries