Top 10 historical holders of multiple tokens on ETH

token holder count

Returns holders on Ethereum, where currency smart contract is 0x7f39…2Ca0, sorted by balance amount, highest first: balance amount, holder address and currency name.

By Kshitij Mahajan · saved 23 June 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query already reads history - it uses the archive dataset, which
#   needs the historical data add-on for this chain.
#
#   Without the add-on it fails with 'access restricted: your plan only allows
#   realtime'. Drop the dataset argument to fall back to the recent window.
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Ethereum/token-holders/token-
# holder-api/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/

query MyQuery($network: evm_network, $tokens: [String!]) {
  EVM(network: $network, aggregates: yes, dataset: archive) {
    Holders(
      orderBy: {descending: Balance_Amount}
      limitBy: {count: 10, by: Currency_SmartContract}
      where: {Currency: {SmartContract: {in: $tokens}}, Balance: {LastChangeTime: {till_relative: {months_ago: 1}}}}
    ) {
      Balance {
        Amount(selectWhere: {gt: "0"})
      }
      Holder {
        Address
      }
      Currency {
        Name
      }
    }
  }
}

Variables

{
  "network": "eth",
  "tokens": [
    "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"
  ]
}

Similar queries