Top holders

Returns one token holder on Ethereum, where holder address is not 0x, sorted by balance amount, highest first: holder address, balance amount, currency symbol, currency name, smart contract and chain ID.

By shamu · saved 20 December 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $till_now: String!, $token: String!, $limit: Int) {
  EVM(network: $network, dataset: archive) {
    TokenHolders(
      tokenSmartContract: $token
      date: $till_now
      orderBy: {descending: Balance_Amount}
      limit: {count: $limit}
      where: {Holder: {Address: {not: "0x"}}}
    ) {
      Holder {
        Address
      }
      Balance {
        Amount
      }
      Currency {
        Symbol
        Name
        SmartContract
      }
    }
    Blocks(limit: {count: 1}) {
      ChainId
    }
  }
}

Variables

{"network":"eth","till_now":"2024-12-20","limit":10,"token":"0xfb7b4564402e5500db5bb6d63ae671302777c75a"}

Similar queries