fixed query for dexes
Returns DEX trades on Ethereum, where buy currency is not 0x9e9f…0413, sell currency is not 0x9e9f…0413 and date since 2024-02-05, sorted by trade amount, highest first: full name, count and trade amount.
What it returns
- full name
- count
- trade amount
Filters
- buy currency is not 0x9e9f…0413
- sell currency is not 0x9e9f…0413
- date since 2024-02-05
- date till 2024-02-12
The query
query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(options: {desc: "tradeAmount"},
buyCurrency: {not: "0x9e9fbde7c7a83c43913bddc8779158f1368f0413"}
sellCurrency: {not: "0x9e9fbde7c7a83c43913bddc8779158f1368f0413"}
date: {since: $from, till: $till}) {
exchange {
fullName
}
trades: count
tradeAmount(in: USD)
currencies: count(uniq: buy_currency)
contracts: count(uniq: smart_contracts)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": "2024-02-05",
"till": "2024-02-12T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades