Price of a Token in USD

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0xe9e7…7d56 and date since 2021-01-01: base currency symbol, quote currency symbol, quote amount and trade amount.

By Sayon · saved 29 July 2021 · run 305 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"} 
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {since: "2021-01-01"}
    ) {
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quoteAmount_USD: quoteAmount(in: USD)
      tradeAmount_USD: tradeAmount(in: USD)
    }
  }
}

Similar queries