Elongate price

Elongate-BUSD

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0x2A97…a385, quote currency is 0xe9e7…7d56 and exchange name is Pancake, sorted by time interval minute, highest first: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.

By matiaspersson95 · saved 28 March 2021 · Bitquery API v1

What it returns

Filters

The query

{
    ethereum(network: bsc) {
      dexTrades(
        options: {limit: 1, desc: "timeInterval.minute"}
        exchangeName: {is: "Pancake"}
        baseCurrency: {is: "0x2A9718defF471f3Bb91FA0ECEAB14154F150a385"}
        quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      ) {
        timeInterval {
          minute(count: 1)
        }
        baseCurrency {
          symbol
          address
        }
        baseAmount
        quoteCurrency {
          symbol
          address
        }
        quoteAmount
        trades: count
        quotePrice
        median_price: quotePrice(calculate: median)
        maximum_price: quotePrice(calculate: maximum)
        minimum_price: quotePrice(calculate: minimum)
        open_price: minimum(of: block, get: quote_price)
        close_price: maximum(of: block, get: quote_price)
      }
    }
  }

Similar queries