Chart_detail
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xba2a…4c43, quote currency is 0xbb4c…095c and exchange name is Pancake v2: minute, base currency name, base currency symbol, quote currency name, quote currency symbol, base currency address, token ID and 7 more fields.
What it returns
- minute
- base currency name
- base currency symbol
- quote currency name
- quote currency symbol
- base currency address
- token ID
- base amount
- quote currency address
- trade amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xba2a…4c43
- quote currency is 0xbb4c…095c
- exchange name is Pancake v2
The query
query ChartDetails($from: ISO8601DateTime!, $to: ISO8601DateTime!, $interval: Int, $token: String, $currency: String) {
ethereum(network: bsc) {
dexTrades(
date: {between: [$from, $to]}
exchangeName: {in:["Pancake v2"]}
baseCurrency: {is: $token}
quoteCurrency: {is: $currency}
) {
timeInterval {
minute(format: "%FT%TZ", count: $interval)
}
baseCurrency{
name
symbol
}
quoteCurrency{
name
symbol
}
buyCurrency: baseCurrency {
symbol
address
tokenId
}
buyAmount: baseAmount
sellCurrency: quoteCurrency {
symbol
address
}
volume: tradeAmount(in: USD)
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": "2021-09-20T21:52:30+03:00",
"to": "2021-09-21T05:53:30+03:00",
"interval": 30,
"token": "0xba2ae424d960c26247dd6c32edc70b295c744c43",
"currency": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"
}
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