VNDC/WBNB OHLC
Returns 6 DEX trades on Ethereum and BNB Chain, where base currency is 0xdde5…f24e, quote currency is 0xbb4c…095c and time since 2023-07-09, sorted by time interval minute: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 5 more fields.
What it returns
- minute
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
- minimum of block
- maximum of block
- expression
Filters
- base currency is 0xdde5…f24e
- quote currency is 0xbb4c…095c
- time since 2023-07-09
- time till 2023-08-09
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 6, asc: "timeInterval.minute"}
time: {since: "2023-07-09T17:00:00Z", till: "2023-08-09T18:00:00Z"}
baseCurrency: {is: "0xdde5b33a56f3f1c22e5a6bd8429e6ad508bff24e"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
timeInterval {
minute(count:10)
}
baseCurrency {
symbol
address
}
baseAmount
baseAmountInUSD: baseAmount(in: USD)
quoteCurrency {
symbol
address
}
quoteAmount
quoteAmountInUSD: quoteAmount(in: USD)
trades: count
quotePrice
average_price: quotePrice(calculate: average)
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)
averagePriceInUSD: expression(get: "quoteAmountInUSD/baseAmount")
}
}
}
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