NFT & ERC20 token balance of an address

Returns balance updates on Ethereum, where balance update address is 0xae13…359d: sum of balance update amount, currency name, smart contract, currency symbol and protocol name.

By Nikhil · saved 19 October 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xae1338f05630572C7b9BdEAaebcaaeb40bA9359d"}}}
    ) {
      token_balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      Currency {
        Name
        SmartContract
        Symbol
        ProtocolName
      }
    }
  }
}

Similar queries