Prude Price in BNB

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0x810d…0b74 and quote currency is 0xbb4C…095c, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol and quote price.

By Julian · saved 31 July 2021 · Bitquery API v1

What it returns

Filters

The query

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

Similar queries