[Ethereum] [Streaming] Get Number of Trades for the Pool

Get Number of Trade Count

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

By Nikhil · saved 4 September 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {Pair: {SmartContract: {is: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"}}}}}
    ) {
      Block {
        Time(interval: {in: days, count: 1})
      }
      count(distinct: Trade_Success)
    }
  }
}

Similar queries