count of ETH token holders for a token using token holders api

Returns token holders on Ethereum, where balance amount is at least 0: count.

By Aarthy · saved 7 February 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    TokenHolders(
      date: "2023-10-22"
      tokenSmartContract: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
      where: {Balance: {Amount: {ge: "0"}}}
    ) {
      classic: count(
        distinct: Holder_Address
        if: {Balance: {Amount: {gt: "1000000"}}}
      )
      pro: count(
        distinct: Holder_Address
        if: {Balance: {Amount: {gt: "100000", le: "1000000"}}}
      )
      growing: count(
        distinct: Holder_Address
        if: {Balance: {Amount: {gt: "1000", le: "100000"}}}
      )
    }
  }
}

Similar queries