Top NFT Holders

Returns 10 balance updates on Ethereum, where currency smart contract is 0x0fcb…4170, sorted by balance, highest first: balance update address, sum of balance update amount and unique of balance update ID.

By Aleksey · saved 9 May 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

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

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "token": "0x0fcbd68251819928c8f6d182fc04be733fa94170"
}

Similar queries