CAKE-USDT

Gets CAKE's price to USDT value

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x0e09…ce82, quote currency is 0x55d3…7955 and date since 2021-02-20, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol and quote price.

By joshman2020 · saved 22 February 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query(
  $thisDate: ISO8601DateTime!
){
  ethereum(network: bsc) {
    dexTrades(
      #baseCurrency: {is: "0xe4ae305ebe1abe663f261bc00534067c80ad677c"}
      baseCurrency: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}
      #baseCurrency: {is: "0xB8c77482e45F1F44dE1745F52C74426C631bDD52"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
      options: {desc: ["block.height", "transaction.index"]}
      date: {since: $thisDate}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
          #month: $month1
          
        }
        
      }
      transaction {
        index
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
    }
  }
}

Variables

{"thisDate":"2021-02-20"}

Similar queries