Volume by height range
Returns DEX trades on Ethereum and Avalanche, where base currency is 0x51e4…7812 and height is above 0: quote amount, quote currency address, base amount and base currency address.
What it returns
- quote amount
- quote currency address
- base amount
- base currency address
Filters
- base currency is 0x51e4…7812
- height is above 0
The query
query ($network: EthereumNetwork!, $token: String!, $from: Int!, $to: Int!) {
ethereum(network: $network) {
dexTrades(height: {gt: $from, lteq: $to}, baseCurrency: {is: $token}) {
quoteAmount
quoteAmountInUsd: quoteAmount(in: USD)
quoteCurrency {
address
}
baseAmount
baseAmountInUsd: baseAmount(in: USD)
baseCurrency {
address
}
}
}
}
Variables
{
"limit": 1000,
"offset": 0,
"network": "avalanche",
"token": "0x51e48670098173025c477d9aa3f0eff7bf9f7812",
"from": 0,
"to": 26935000
}
Similar queries
- Avalanche — Top DEXs by trade count · Avalanche · DEXTrades
- Avalanche — Latest DEX trades · Avalanche · DEXTrades
- avalanche · Avalanche · DEXTrades
- WAVAX/USDC Trades in period · Avalanche · DEXTrades
- AVAX Trades in period · Avalanche · DEXTrades