Historical_price_of_token

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0xd306…c79c, quote currency is 0xe9e7…7d56 and date since 2022-04-23, sorted by block height: quote price, transaction hash and block height.

By Omkar Acharekar · saved 12 May 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xd306c124282880858a634e7396383ae58d37c79c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {since: "2022-04-23"}
      options: {limit: 1, asc: "block.height"}
    ) {
      quotePrice
      transaction {
        hash
      }
      block {
        height
      }
    }
  }
}

Similar queries