UNI/USDT Current Price

Cake Currency Price using Cake-USDT Pair

Returns one DEX trade on Ethereum, where base currency is 0x1f98…f984 and quote currency is 0xdac1…1ec7, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol and quote price.

By Gregory · saved 10 June 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

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