Native balance of ERC20 token vault

Returns balance updates on Ethereum, where balance update address is 0xC02a…6Cc2: currency name, smart contract, currency symbol and sum of balance update amount.

By Omkar Acharekar · saved 20 May 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}, Currency: {Native: true}}
    ) {
      Currency {
        Name
        SmartContract
        Symbol
      }
      balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries