WAD/BUSD Daily Volume

Returns 100 DEX trades on Ethereum and BNB Chain, where base currency is 0x0fea…27fc, quote currency is 0xe9e7…7d56 and tx to is 0x359B…25ae, sorted by time interval day: day, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 5 more fields.

By Peetwan · saved 7 July 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 100, asc: "timeInterval.day"}
      baseCurrency: {is: "0x0feadcc3824e7f3c12f40e324a60c23ca51627fc"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      any: {txTo: {in: "0x359B9fC0765481569C33CcEF23Bd14d0878125ae"}}
    ) {
      timeInterval {
        day(count: 1)
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      maximum_price: quotePrice(calculate: maximum)
      minimum_price: quotePrice(calculate: minimum)
      open_price: minimum(of: block, get: quote_price)
      close_price: maximum(of: block, get: quote_price)
      tradeAmount(in: USD)
    }
  }
}

Similar queries