all_dex_trades_for_one_day_basecurrency/quotecurrency
Returns DEX trades on Ethereum, where date since 2023-04-18 and date till 2023-04-18, sorted by block height: block height, address address, base amount, base currency symbol, base currency address, quote amount, quote currency symbol and 2 more fields.
What it returns
- block height
- address address
- base amount
- base currency symbol
- base currency address
- quote amount
- quote currency symbol
- quote currency address
- transaction hash
Filters
- date since 2023-04-18
- date till 2023-04-18
The query
query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
date: {since: $from, till: $till}
options: { asc: "block.height", limitBy: {limit: 1, each: "smartContract.address.address"}}
) {
block {
height
}
smartContract {
address {
address
}
}
baseAmount
baseCurrency {
symbol
address
}
quoteAmount
quoteCurrency {
symbol
address
}
transaction {
hash
}
}
}
}
Variables
{
"network": "ethereum",
"from": "2023-04-18T00:00:01",
"till": "2023-04-18T23: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