Top Traded NFT in Network
Returns 10 DEX trades on Ethereum, sorted by count, highest first: buy currency symbol, buy smart contract, buy price, sell currency symbol, sell smart contract, sum of trade buy amount, sum of trade sell amount and 4 more fields.
What it returns
- buy currency symbol
- buy smart contract
- buy price
- sell currency symbol
- sell smart contract
- sum of trade buy amount
- sum of trade sell amount
- sum of trade buy amount in USD
- sum of trade sell amount in USD
- count
- chain ID
The query
query ($network: evm_network, $limit: Int!) {
EVM(dataset: realtime, network: $network) {
DEXTrades(
orderBy: {descendingByField: "count"}
limit: {count: $limit}
where: {Trade: {Buy: {Currency: {Fungible: false}}, Sell: {Currency: {Fungible: true}}, Success: true}}
) {
Trade {
Buy {
Currency {
Symbol
SmartContract
}
min_price: Price(minimum: Trade_Buy_Price)
max_price: Price(maximum: Trade_Buy_Price)
}
Sell {
Currency {
Symbol
SmartContract
}
}
}
buy_amount: sum(of: Trade_Buy_Amount)
sell_amount: sum(of: Trade_Sell_Amount)
buy_amount_usd: sum(of: Trade_Buy_AmountInUSD)
sell_amount_usd: sum(of: Trade_Sell_AmountInUSD)
count
ChainId
}
}
}
Variables
{
"network": "eth",
"limit": 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