trading volume & prev 24 hr price
Returns DEX trades on Ethereum and BNB Chain, where quote currency is 0x55d3…7955, exchange name is Pancake or Pancake v2 and time since 2022-05-15, sorted by block timestamp time trade index time interval day, highest first: day, base currency address, base currency symbol, base currency name, block height, timestamp time, trade index and 9 more fields.
What it returns
- day
- base currency address
- base currency symbol
- base currency name
- block height
- timestamp time
- trade index
- count
- quote amount
- quote price
- minimum of block
- maximum of block
- trade amount
- quote currency address
- quote currency symbol
- quote currency name
Filters
- quote currency is 0x55d3…7955
- exchange name is Pancake or Pancake v2
- time since 2022-05-15
The query
{
ethereum(network: bsc) {
list1: dexTrades(
options: {limitBy: {each: "baseCurrency.symbol", limit: 1}, desc: ["block.timestamp.time", "tradeIndex", "timeInterval.day"]}
exchangeName: {in: ["Pancake", "Pancake v2"]}
quoteCurrency: {in: ["0x55d398326f99059ff775485246999027b3197955"]}
time: {since: "2022-05-15T00:00:00"}
) {
timeInterval {
day(count: 1)
}
baseCurrency {
address
symbol
name
}
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
tradeIndex
trades: count
quoteAmount
trades: count
quotePrice
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)
tradeAmount(in: USD)
quotePrice
close_price: maximum(of: block, get: quote_price)
quoteCurrency {
address
symbol
name
}
}
}
}
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