Ethereum_Token_Holders

Token Holders, Last Update Date

Returns 5 token holders on Ethereum, where balance amount is above 0, sorted by balance amount, highest first: holder address, balance amount, currency symbol, currency name, decimals, last date, balance update count and 5 more fields.

By Naresh K · saved 7 March 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query FETCH_ETHEREUM_TOKEN_BALANCES($address: String!, $till_date: String!, $top_n_count: Int) {
  EVM(network: eth, dataset: archive) {
    token_holders: TokenHolders(
      date: $till_date
      tokenSmartContract: $address
      where: {Balance: {Amount: {gt: "0"}}}
      orderBy: {descending: Balance_Amount}
      limit: {count: $top_n_count}
    ) {
      Holder {
        Address
      }
      Balance {
        Amount
      }
      Currency {
        Symbol
        Name
        Decimals
      }
      BalanceUpdate {
        LastDate
        Count
        FirstDate
        InAmount
        InCount
        OutAmount
        OutCount
      }
    }
  }
}

Variables

{"address": "0x95AD61B0A150D79219DCF64E1E6CC01F0B64C4CE",
"till_date": "2024-03-07",
"top_n_count": 5}

Similar queries