sak

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

By saud · saved 9 March 2024 · run 15 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      orderBy: {descendingByField: "balance"}
      limit: {offset: 0, count: 10}
      where: {
        Currency: {
          SmartContract: {
            is: "0x10DaA9f4c0F985430fdE4959adB2c791ef2CCF83"
          }
        }
      }
    ) {
      ChainId
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount)
      ids: uniq(of: BalanceUpdate_Id, method: approximate)
    }
  }
}

Similar queries