USDT balance on a specific day

Returns balance updates on Ethereum, where balance update address is 0xf977…acec, currency smart contract is 0xdac1…1ec7 and block date till 2023-11-01, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By gaurav · saved 22 December 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: "0xf977814e90da44bfa03b6295a0616a897441acec"}}, Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}, Block: {Date: {till: "2023-11-01"}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries