Top 10 pairs on 0x v4 protocol
Returns DEX trades and arguments on Ethereum, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 6 more fields.
What it returns
- sell currency symbol
- sell currency address
- sell amount
- buy currency symbol
- buy currency address
- buy amount
- count
- price
- maximum of block
- minimum of date
- caller address
- gas price
- gas
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $protocol: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: "count", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
protocol: {is: $protocol}
) {
sellCurrency {
symbol
address
}
sellAmount
buyCurrency {
symbol
address
}
buyAmount
count
median_price: price(calculate: median)
last_price: maximum(of: block, get: price)
dates: count(uniq: dates)
started: minimum(of: date)
}
arguments {
caller {
address
}
transaction {
gasPrice
gas
}
}
}
}
Variables
{0x8f8a3f972555de271ae315ce577b3859ed051706
"limit": 10,
"offset": 0,
"network": "ethereum",
"protocol": "Zerox Exchange v4",
"from": null,
"till": null,
"dateFormat": "%Y-%m"
}
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