Price_of_Token

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0xd306…c79c and quote currency is 0xe9e7…7d56, sorted by block timestamp iso8601, highest first: quote price, transaction hash and iso8601.

By Omkar Acharekar · saved 30 May 2023 · run 26 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xd306c124282880858a634e7396383ae58d37c79c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      options: {limit: 1, desc: "block.timestamp.iso8601"}
    ) {
      quotePrice
      transaction {
        hash
      }
      block {
        timestamp {
          iso8601
        }
      }
    }
  }
}

Similar queries