4-5)

Returns 100 balance updates on Ethereum, where currency smart contract is 0xdAC1…1ec7, block time after 2023-05-16 and block time before 2023-05-17, sorted by balance changed, highest first: balance update address, balance update amount, sum of balance update amount and currency name.

By Ivan · saved 28 June 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: archive) {
    BalanceUpdates(
      limit: {count: 100}
      orderBy: {descendingByField: "balanceChanged"}
      where: {Currency: {SmartContract: {in: ["0xdAC17F958D2ee523a2206206994597C13D831ec7"]}}, Block: {Time: {after: "2023-05-16T06:51:24Z", before: "2023-05-17T06:51:24Z"}}, BalanceUpdate: {Amount: {gt: "60069338", lt: "60069400"}}}
    ) {
      BalanceUpdate {
        Address
        Amount
      }
      balanceChanged: sum(of: BalanceUpdate_Amount)
      Currency {
        Name
      }
    }
  }
}

Similar queries