Liquidity-Update-of-a-Pool-on-Each-Day

This query shows the liquidity update of a pool on each day

Returns the latest balance updates on Ethereum, where balance update address is 0x0d4a…1852 and block time since 2024-07-19: currency name, sum of balance update amount, block date and count.

By yeyuantest · saved 22 July 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query


query MyQuery {
  EVM(network: eth, dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {in: ["0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"]}}, Block: {Time: {since: "2024-07-19T08:32:47Z"}}}
      orderBy: {descending: Block_Date}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
      Block {
        Date
      }
      swaps: count
    }
  }
}

Similar queries