Top tokens based on Token holders

The following queries provide top tokens based on holders.

Top Token based on holders (All tokens)

{
  EVM(network: eth, dataset: combined) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {not: "0x69e37422cB87d963367F73A119C8ce9a4D529b72"}}, Block: {Date: {since: "2023-06-01"}}, BalanceUpdate: {Amount: {gt: "0"}}}
      orderBy: {descendingByField: "No_Holders"}
      limit: {count: 20}
    ) {
      No_Holders: count(distinct: BalanceUpdate_Address)
      Currency {
        Name
        SmartContract
      }
    }
  }
}

Top NFT tokens based on holders (All tokens)

The following queries provide top NFTs based on holders.

{
  EVM(network: eth, dataset: combined) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {not: "0x69e37422cB87d963367F73A119C8ce9a4D529b72"}, Fungible: false}, Block: {Date: {since: "2023-06-01"}}, BalanceUpdate: {Amount: {gt: "0"}}}
      orderBy: {descendingByField: "No_Holders"}
      limit: {count: 20}
    ) {
      No_Holders: count(distinct: BalanceUpdate_Address)
      Currency {
        Name
        SmartContract
      }
    }
  }
}
1 Like