Cowrie OHLC Query
Sitama WETH OHLC Query
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xDe51…9E9E: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 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
Filters
- base currency is 0xDe51…9E9E
The query
query ($baseAddress: String, $from: ISO8601DateTime!, $to: ISO8601DateTime!, $interval: Int) {
ethereum(network: bsc) {
dexTrades(baseCurrency: {is: $baseAddress}, date: {between: [$from, $to]}) {
timeInterval {
minute(format: "%FT%TZ", count: $interval)
}
buyCurrency: baseCurrency {
symbol
address
}
buyAmount: baseAmount
sellCurrency: quoteCurrency {
symbol
address
}
volume: quoteAmount
trades: count
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"from": "2023-05-20",
"to": "2023-05-26",
"interval": 30,
"baseAddress": "0xDe51D1599339809CaFB8194189cE67d5BdcA9E9E"
}
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