Monthly trade volume and gas fees for a token pair on BSC

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, trade amount, base currency symbol, gas and gas value.

By Sayon · saved 7 September 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
      trade_volume: tradeAmount(in: USD)
      baseCurrency {
        symbol
      }
      gas
      gasValue
    }
  }
}

Similar queries