OLHC SPORE
Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0x77f6…2689, quote currency is 0xbb4C…095c and time after 2024-01-01, sorted by time interval day, highest first: day, base currency name, quote currency name, quote amount, expression, quote price, minimum of block and maximum of block.
What it returns
- day
- base currency name
- quote currency name
- quote amount
- expression
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x77f6…2689
- quote currency is 0xbb4C…095c
- time after 2024-01-01
The query
query MyQuery {
ethereum(network: bsc) {
dexTrades(
baseCurrency: {is: "0x77f6a5f1b7a2b6d6c322af8581317d6bb0a52689"}
quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
options: {limit: 10, desc: "timeInterval.day"}
time: {after: "2024-01-01T00:00:00"}
) {
timeInterval {
day(format: "%FT%TZ", count: 1)
}
baseCurrency {
name
}
quoteCurrency {
name
}
quoteAmount
volume: quoteAmount(in: USD)
wethPriceinUSD: expression(get: "volume / quoteAmount")
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
highUSD: expression(get: "wethPriceinUSD * high")
lowUSD: expression(get: "wethPriceinUSD * low")
openUSD: expression(get: "wethPriceinUSD * open")
closeUSD: expression(get: "wethPriceinUSD * close")
}
}
}
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