Trade Volume and Count month on month

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0xe9e7…7d56 and date since 2021-01-01, sorted by date month: month, year, count, base currency symbol and quote amount.

By Sayon · saved 29 July 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "date.month"}
      baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {since: "2021-01-01"}
    ) {
      date {
        month
        year
      }
      trades_count: count
      baseCurrency {
        symbol
      }
      quoteAmount
      smartcontracts_count: count(uniq: smart_contracts)
    }
  }
}

Similar queries