Price of 2 tokens and change of currency parameters

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x55d3…7955, quote currency is BNB or WBNB and date since 2022-05-18: base amount, base currency address, base currency symbol, quote amount, quote currency symbol and quote price.

By Sayon · saved 18 May 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc){
    dexTrades(
      quoteCurrency: {in: ["BNB", "WBNB"]}
      baseCurrency: {is:  "0x55d398326f99059ff775485246999027b3197955"}
      date: {since: "2022-05-18"}
    ){
      baseAmountInUSDT: baseAmount
      baseAmountInBTC: baseAmount(in: BTC)
      baseCurrency{
        address
        symbol
      }
      quoteAmountInUSDT: quoteAmount(in: USDT)
      quoteAmountInBNB: quoteAmount(in: BNB)
      quoteAmountInBTC: quoteAmount(in: BTC)
      quoteCurrency{
        symbol
      }
      quotePrice
    }
  }
}

Similar queries