Quote Price Multiple Tokens | BSC

Returns the latest DEX trades on Ethereum and BNB Chain, where exchange address is 0xca14…0c73, quote currency is 0xbb4c…095c and date after 2022-12-30: quote price, base currency address, base currency name, quote currency address, quote currency name and block height.

By lukas · saved 31 December 2022 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      date: {after: "2022-12-30"}
      options: {limitBy: {each: "baseCurrency.address", limit: 1},desc: "block.height"}
      exchangeAddress: {is: "0xca143ce32fe78f1f7019d7d551a6402fc5350c73"}
      quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
    ) {
      quotePrice
      baseCurrency {
        address
        name
      }
      quoteCurrency {
        address
        name
      }
      block{
        height
      }
    }
  }
}

Similar queries