change in balance per day

Returns the latest 10 balance updates on Ethereum, where balance update address is 0x909e…38b7 and currency smart contract is 0xdac1…1ec7: block date and sum of balance update amount.

By Nikhil · saved 19 October 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x909e9C8Ce106Ab11f5F3A3A2Ad105E45fD7638b7"}}, Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Date(interval: {in: days, count: 1})
      }
      change: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries