Copy of Copy of Text OHCL data
Test OHLC data
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x3eC8…DF56, quote currency is 0xbb4c…095c and exchange name is Pancake or Pancake v2: minute, quote price, minimum of block and maximum of block.
What it returns
- minute
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x3eC8…DF56
- quote currency is 0xbb4c…095c
- exchange name is Pancake or Pancake v2
The query
{
ethereum(network: bsc) {
dexTrades(
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {is: "0x3eC8e004E9F71157b7ac7cCbED133939694EDF56"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
timeInterval {
minute(format: "%FT%TZ", count: 5)
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades