SLF price

Returns one DEX trade on Ethereum and BNB Chain, where exchange address is 0xca14…0c73, base currency is 0xbb4c…095c and quote currency is 0x3208…aAF2, sorted by time interval minute, highest first: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 5 more fields.

By luc · saved 12 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 1, desc: "timeInterval.minute"}
      # date: {since: "2021-04-26", till: "2021-05-12"}
      exchangeAddress: {is: "0xca143ce32fe78f1f7019d7d551a6402fc5350c73"}
      baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      quoteCurrency: {is: "0x32089eafFaf278C82cda2c8d37e7b6b6faBBaAF2"}
    ) {
      timeInterval {
        minute(count: 60)
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      tradeAmount(in: USDT)
      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