OHLC data for after given time
Returns 500 DEX trades on Ethereum and BNB Chain, where base currency is 0xb7b2…dac6, exchange name is Pancake or Pancake v2 and time since 2021-05-11, sorted by time interval minute, highest first: minute, transaction hash, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address and 5 more fields.
What it returns
- minute
- transaction hash
- 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 0xb7b2…dac6
- exchange name is Pancake or Pancake v2
- time since 2021-05-11
The query
{
ethereum(network: bsc) {
dexTrades(options: {limit: 500, desc: "timeInterval.minute"},
time: {since:"2021-05-11T00:00:00"}
exchangeName: {in: ["Pancake", "Pancake v2"]},
baseCurrency: {is: "0xb7b262b0ac4939d8936685e20189d809bdb5dac6"},
) {
timeInterval {
minute(count: 10)
}
transaction{
hash
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
quotePrice
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
median_price: quotePrice(calculate: median)
open_price: minimum(of: block get: quote_price)
close_price: 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