Price ARAP

Returns DEX trades on Ethereum and BNB Chain, where exchange name is Pancake v2 and date since 2021-06-22: hour, base currency symbol, quote currency symbol and quote price.

By UgoRomi · saved 13 June 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($time: ISO8601DateTime!, $count: Int!) {
  ethereum(network: bsc) {
    dexTrades(
      date: {since: $time}
      any: [{baseCurrency: {is: "0xbe4092e90da0b5f3fbb395be20bb344de964e3de"}, quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}, {baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}, quoteCurrency: {is: "0x55d398326f99059fF775485246999027B3197955"}}]
      exchangeName: {in: "Pancake v2"}
    ) {
      timeInterval {
        hour(format: "%FT%TZ", count: $count)
      }
      buyCurrency: baseCurrency {
        symbol
      }
      sellCurrency: quoteCurrency {
        symbol
      }
      high: quotePrice(calculate: maximum)
    }
  }
}

Variables

{
  "time": "2021-06-22T10:00:00.000Z",
  "count": 1
}

Similar queries