Top NFT Holders

Returns 10 balance updates on Ethereum, where currency smart contract is 0xdac1…1ec7, block date since 2023-09-10 and block date till 2023-09-17, sorted by balance, highest first: chain ID, balance update address, sum of balance update amount and unique of balance update ID.

By Nadia · saved 18 September 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

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

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2023-09-10",
  "till": "2023-09-17"
}

Similar queries