Top NFT Holders

Returns 10 balance updates on BNB Chain, where currency smart contract is 0x758f…255b, block date since 2024-09-10 and block date till 2024-09-17, sorted by balance, highest first: chain ID, balance update address, sum of balance update amount, sum of balance update amount in USD, unique of balance update ID, currency name and currency symbol.

By Nadia · saved 17 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $from: String, $till: String, $token: String) {
  EVM(dataset: archive, network: $network) {
    BalanceUpdates(
      orderBy: {descendingByField: "balance"}
      limit: {count: $limit}
      where: {Currency: {SmartContract: {is: $token}}, Block: {Date: {since: $from, till: $till}}}
    ) {
      ChainId
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount)
      balance_usd: sum(of: BalanceUpdate_AmountInUSD)
      ids: uniq(of: BalanceUpdate_Id, method: approximate)
      Currency {
        Name
        Symbol
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "limit": 10,
  "from": "2024-09-10",
  "till": "2024-09-17",
  "token": "0x758fb037a375f17c7e195cc634d77da4f554255b",
  "offset": 0,
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2024-09-13"
}

Similar queries