DEX Smart Contracts
Returns 10 DEX trades on Ethereum, where DEX protocol name is uniswap_v2, block date since 2023-07-10 and block date till 2023-07-10, sorted by trades, highest first: chain ID, count, protocol name and smart contract.
What it returns
- chain ID
- count
- protocol name
- smart contract
Filters
- DEX protocol name is uniswap_v2
- block date since 2023-07-10
- block date till 2023-07-10
The query
query ($network: evm_network, $limit: Int!, $protocol: String, $from: String, $till: String) {
EVM(dataset: combined, network: $network) {
DEXTrades(
limit: {count: $limit}
where: {Block: {Date: {since: $from, till: $till}}, Trade: {Dex: {ProtocolName: {is: $protocol}}}}
orderBy: {descendingByField: "trades"}
) {
ChainId
trades: count
buy_currency: count(distinct: Trade_Sell_Buyer)
Trade {
Dex {
ProtocolName
SmartContract
}
}
}
}
}
Variables
{
"network": "eth",
"protocol": "uniswap_v2",
"limit": 10,
"from": "2023-07-10",
"till": "2023-07-10"
}
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