Blockpond balance error

Returns 10 balance updates on Ethereum, where currency smart contract is 0x69e3…9b72, sorted by balance, highest first: sum of balance update amount and balance update address.

By Divyasshree N · saved 16 October 2023 · Bitquery API v2

What it returns

Filters

The query

query ($address: String!, $network: evm_network!, $count: Int!) {
  EVM(dataset: combined, network: $network) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: $address}}}
      limitBy: {by: BalanceUpdate_Address, count: 1}
      orderBy: {descendingByField: "balance"}
      limit: {count: $count}
    ) {
      balance: sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
      }
    }
  }
}

Variables

{
  "address": "0x69e37422cb87d963367f73a119c8ce9a4d529b72",
  "network": "eth",
  "count": 10
}

Similar queries