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 pablo · saved 7 May 2024 · run 2 times · 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-05-07","limit":10,"token":"0xdac17f958d2ee523a2206206994597c13d831ec7"}

Similar queries