All token holders of ERC 1165 collection

Returns 100 balance updates on Ethereum, where currency smart contract is 0x2358…a68b and balance update amount is above 0, sorted by sum, highest first: sum of balance update amount, balance update address, balance update amount, balance update ID, balance update type and URI.

By gaurav · saved 21 April 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: "0x23581767a106ae21c074b2276d25e5c3e136a68b"}}, BalanceUpdate: {Amount: {gt: "0"}}}
      limitBy: {by: BalanceUpdate_Address, count: 1}
      limit: {count: 100}
      orderBy: {descendingByField: "sum"}
    ) {
      sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
        Amount
        Id
        Type
        URI
      }
    }
  }
}

Similar queries