dex overview query

Returns 20 DEX trades on Ethereum, where base currency is 0x1f98…f984 and time since 2025-02-05, sorted by time interval month, highest first: count, trade amount and month.

By qpdishwhd.buzz · saved 6 February 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 20, desc: "timeInterval.month"}
      time: {since: "2025-02-05T13:47:00Z"}
      baseCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}
    ) {
      total_txns: count
      sell_txns: count(sellCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"})
      buy_txns: count(buyCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"})
      tradeAmount(in: USD)
      timeInterval {
        month(count: 2)
      }
    }
  }
}

Similar queries