Query token Holder for a Address

token holder count

Returns balance updates on Ethereum, where balance update address is 0x83ea…b9e0, currency smart contract is 0x95aD…C4cE and block number is at most 22606142: sum of balance update amount, currency name and currency symbol.

By HUY · saved 2 July 2025 · Bitquery API v2

What it returns

Filters

The query

# query SHIBBalanceAtDate {
#   EVM(dataset: archive, network: eth) {
#     BalanceUpdates(
#       where: {
#         BalanceUpdate: { Address: { is: "0xa29e963992597b21bcdcaa969d571984869c4ff5" } },
#         Block: { Date: { before: "2025-05-31" } },
#         Currency: { SmartContract: { is: "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE" } }
#       }
#     ) {
#       balance: sum(of: BalanceUpdate_Amount)
#       Currency {
#         Name
#         Symbol
#       }
#     }
#   }
# }


query SHIBBalanceAtBlock {
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {
        BalanceUpdate: {
          Address: { is: "0x83eabcffb0c5de1ad775e6e2694139761e60b9e0" }
        },
        Block: {
          Number: { le: "22606142" }
        },
        Currency: {
          SmartContract: { is: "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE" }
        }
      }
    ) {
      balance: sum(of: BalanceUpdate_Amount)
      Currency {
        Name
        Symbol
      }
    }
  }
}



Similar queries