USDT Token holder with specific balance range

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

By gaurav · saved 26 October 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    TokenHolders(
      date: "2023-10-22"
      tokenSmartContract: "0xdAC17F958D2ee523a2206206994597C13D831ec7"
      where: {Balance: {Amount: {ge: "0"}}}
    ) {
      gini(of: Balance_Amount)
      total: count(distinct: Holder_Address, if: {Balance: {Amount: {gt: "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