sds

latest trades for a token - both buy and sell

Returns balance updates, where balance update address is 0xe9F8…f97F, sorted by block number: sum of balance update amount, balance update address and transaction hash.

By Omkar_BQ · saved 29 November 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined) {
    BalanceUpdates(
      orderBy: {ascending: Block_Number}
      where: {Currency: {Native: true}, BalanceUpdate: {Address: {is: "0xe9F80E7d13C8780f9D8648ac5b8FE56131F1f97F"}}}
    ) {
      
      sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries