Uniswap: TradingVol per block by each pool

Returns 100 DEX trades on Ethereum, where protocol is Uniswap v3, Uniswap v2 or 1 more and height is above 12780600, sorted by trade times, highest first: block height, protocol, count, address address and trade amount.

By howard.pen9 · saved 7 July 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    dexTrades(
      options: {limit: 100, desc: "block.height", desc: "TradeTimes"}
      protocol: {in: ["Uniswap v3", "Uniswap v2", "Uniswap"]}
      height: {gt: 12780600}
    ) {
      block {
        height
      }
      protocol
      TradeTimes: count
      smartContract {
        address {
          address
        }
      }
      TradingVol: tradeAmount(in: USD)
    }
  }
}

Similar queries