Price based on Date - Time

Returns 50 DEX trades on Ethereum and BNB Chain, where base currency is 0x2170…33f8, quote currency is 0x8AC7…580d and date since 2022-08-01, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol and quote price.

By lukas · saved 12 August 2022 · run 111 times · Bitquery API v1

What it returns

Filters

The query

query {
  		ethereum(network: bsc){
  dexTrades(
      baseCurrency: {is: "0x2170ed0880ac9a755fd29b2688956bd959f933f8"}
      quoteCurrency: {is: "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"}
      options: {desc: ["block.height", "transaction.index"], limit: 50}
      date: {since: "2022-08-01T15:00:00.000Z", till: "2022-08-12T23:00:00.000Z"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        index
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
    }
	}
}

Similar queries