Error: get USDC price
Returns 5 DEX trades on Ethereum and BNB Chain, where base currency is 0x8ac7…580d and quote currency is 0xe9e7…7d56, sorted by time interval minute: minute, quote price, minimum of block, maximum of block and quote amount.
What it returns
- minute
- quote price
- minimum of block
- maximum of block
- quote amount
Filters
- base currency is 0x8ac7…580d
- quote currency is 0xe9e7…7d56
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 5, asc: "timeInterval.minute"}
baseCurrency: {is: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"}
quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
height: {gteq: 16340702}
) {
timeInterval {
minute(count: 30)
}
price: quotePrice(calculate: average)
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
fromblock: minimum(of: block, get: block)
toblock: maximum(of: block, get: block)
fromTime: minimum(of: block, get: time)
toTime: maximum(of: block, get: time)
quoteAmount
}
}
}
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