[Uniswap] [Streaming] Get Number of Trades in a Pool

Returns the latest 10 DEX trades on Ethereum, where pair smart contract is 0x0d4a…1852: block time and count.

By Nikhil · saved 5 September 2023 · run 15 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      orderBy: {descending: Block_Date}
      where: {Trade: {Dex: {Pair: {SmartContract: {is: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"}}}}}
      limit: {count: 10}
    ) {
      Block {
        Time(interval: {in: days})
      }
      Trades: count(
        distinct: Transaction_Hash
        if: {TransactionStatus: {Success: true}}
      )
    }
  }
}

Similar queries