query_nft_balance

Returns balance updates on Ethereum, where balance update address is 0x3697…55E5 and currency smart contract is 0x5932…627f: balance update address, currency name, smart contract, currency symbol, fungible and sum of balance update amount.

By Omkar_BQ · saved 4 December 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries