detailedFirstQuery

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0x7d1a…0e36 and exchange name is Pancakeswap, sorted by time interval minute: minute, quote amount, quote price, minimum of block and maximum of block.

By Crypto Botnics · saved 18 June 2025 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
ethereum(network: bsc) {
                dexTrades(
                  options: {asc: "timeInterval.minute"}
                  date: {since: "2025-06-17T00:00:00.000Z", till: "2025-06-18T15:23:21.000"}
                  baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
                  quoteCurrency: {is: "0x7d1aeD70eDDE00Feb46D70D8F74E8f9879bC0e36"}
                  tradeAmountUsd: {gt: 10}
                  exchangeName: {is: "Pancakeswap"}
                ) {
                  timeInterval {
                    minute(count: 15, format: "%Y-%m-%dT%H:%M:%SZ")
                  }
                  volume: quoteAmount
                  high: quotePrice(calculate: maximum)
                  low: quotePrice(calculate: minimum)
                  open: minimum(of: block, get: quote_price)
                  close: maximum(of: block, get: quote_price)
                }
}
}

Similar queries