heroegg/USDT Current Price

Cake Currency Price using Cake-USDT Pair

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0xcfbb…4baf and quote currency is 0x55d3…7955, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol and quote price.

By agus · saved 22 September 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xcfbb1bfa710cb2eba070cc3bec0c35226fea4baf"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
      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