Test Quickswap
Returns DEX trades on Ethereum and Polygon, where exchange address is 0x5757…Ab32, base currency is 0x0d50…1270 and quote currency is 0xA5Ff…7dA3, sorted by time interval hour, highest first: hour, base amount, quote amount, quote price, minimum of block, maximum of block and base currency name.
What it returns
- hour
- base amount
- quote amount
- quote price
- minimum of block
- maximum of block
- base currency name
Filters
- exchange address is 0x5757…Ab32
- base currency is 0x0d50…1270
- quote currency is 0xA5Ff…7dA3
- date since 2022-02-02
- date till 2022-02-09
- trade amount USD is above 20
The query
{
ethereum(network: matic) {
dexTrades(
options: {desc: "timeInterval.hour"}
date: {since: "2022-02-02T01:03:00Z", till: "2022-02-09T00:05:00Z"}
exchangeAddress: {is: "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32"}
baseCurrency: {is: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"}
quoteCurrency: {is: "0xA5Ff48e326958E0CE6FdF9518de561F2B5f57dA3"}
tradeAmountUsd: {gt: 20}
) {
timeInterval {
hour(format: "%FT%TZ", count: 10)
}
baseAmount
volume: quoteAmount
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
baseCurrency {
name
}
}
}
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades