SHARK Price (Public)

Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xcc9b…4EfE and quote currency is 0xbb4C…095c: timestamp time and quote price.

By GamerSimplistic · saved 17 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 1, desc: "block.timestamp.time"}, 
      baseCurrency: {is: "0xcc9b175E4b88a22543C44F1cC65B73f63b0D4EfE"}, quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      quotePrice
    }
  }
}

Similar queries