debug
Returns 20000 DEX trades on Ethereum and BNB Chain, where smart contract address is 0xBFF9…d7Df and quote currency is 0xbb4c…095c, sorted by time interval hour: hour, quote price, minimum of block, maximum of block, quote amount, base currency name, quote currency name and full name.
What it returns
- hour
- quote price
- minimum of block
- maximum of block
- quote amount
- base currency name
- quote currency name
- full name
Filters
- smart contract address is 0xBFF9…d7Df
- quote currency is 0xbb4c…095c
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 20000,asc: "timeInterval.hour"}
smartContractAddress: {is: "0xBFF97D9a0719EeB69b56e4d0Cd5a3C82F0Ffd7Df"}
quoteCurrency: {in: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
timeInterval {
hour(count: 1)
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
quoteAmount(in: USD)
baseCurrency {
name
}
quoteCurrency {
name
}
exchange {
fullName
}
}
}
}
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