https://stackoverflow.com/questions/70784272/bitquery-wrong-data-not-real-time

Returns DEX trades on Ethereum and BNB Chain, where exchange address is 0xcA14…0c73, base currency is 0x0e09…ce82 and quote currency is 0x55d3…7955: base currency symbol, quote currency symbol and quote price.

By Sayon Sai Dutta · saved 20 April 2022 · run 129 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      exchangeAddress: {is: "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73"}
      baseCurrency: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
    ) {
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice(calculate: any)
    }
  }
}

Similar queries