ARB query strange
Returns 100 DEX trades by token on Arbitrum, sorted by USD, highest first: currency symbol, smart contract, fungible, currency name, trade amount, amount in USD, unique of trade side currency smart contract and 6 more fields.
What it returns
- currency symbol
- smart contract
- fungible
- currency name
- trade amount
- amount in USD
- unique of trade side currency smart contract
- unique of trade DEX smart contract
- sum of trade amount
- sum of trade amount in USD
- unique of trade buyer
- unique of trade sender
- count
The query
query topTokens($network: evm_network) {
EVM(network: $network) {
DEXTradeByTokens(orderBy: {descendingByField: "usd"}, limit: {count: 100}) {
Trade {
Currency {
Symbol
SmartContract
Fungible
Name
}
Amount(maximum: Block_Number)
AmountInUSD(maximum: Block_Number)
}
pairs: uniq(of: Trade_Side_Currency_SmartContract)
dexes: uniq(of: Trade_Dex_SmartContract)
amount: sum(of: Trade_Amount)
usd: sum(of: Trade_AmountInUSD)
buyers: uniq(of: Trade_Buyer)
sellers: uniq(of: Trade_Sender)
count
}
}
}
Variables
{
"network": "arbitrum"
}
Similar queries
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- without fragment · Ethereum · DEXTradeByTokens
- trade stats for a token pair on uniswap v4 arbitrum · Arbitrum · DEXTradeByTokens