Last Price BNB In Days Interval

Returns 2 DEX trades on Ethereum and BNB Chain, where exchange address is 0xca14…0c73, base currency is 0xbb4c…095c and quote currency is 0xe9e7…7d56, sorted by time interval day, highest first: quote price, trade amount, day, base currency address, base currency name, quote currency address and quote currency name.

By lukas · saved 2 August 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      date: {since: "2022-08-01"}
      options: {limit: 2, desc: "timeInterval.day"}
      exchangeAddress: {is: "0xca143ce32fe78f1f7019d7d551a6402fc5350c73"}
      baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
    ) {
      quotePrice
      tradeAmount(in: USD)
      timeInterval {
        day(count: 1)
      }
      baseCurrency {
        address
        name
      }
      quoteCurrency {
        address
        name
      }
    }
  }
}

Similar queries