Volume

Returns 48 DEX trades on Ethereum and BNB Chain, where exchange address is 0xcA14…0c73, base currency is 0xbb4c…095c and quote currency is 0xB09F…6B09, sorted by time interval minute, highest first: minute, base currency symbol, base currency address, quote currency symbol, quote currency address, count, trade amount and 4 more fields.

By Brett · saved 25 August 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: { limit: 48, desc: "timeInterval.minute" }
      exchangeAddress: { is: "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73" }
      baseCurrency: { is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c" }
      quoteCurrency: { is: "0xB09FE1613fE03E7361319d2a43eDc17422f36B09" }
    ) {
      timeInterval {
        minute(count: 30)
      }
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      trades: count
      tradeAmount(in: USD)
      volume: quoteAmount
      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)
    }
  }
}

Similar queries