Top trades
Returns 10 DEX trades by token on Polygon, where currency smart contract is 0x7ceb…f619 and block time since 2024-05-16, sorted by amt, highest first: sum of trade amount in USD, block time and transaction hash.
What it returns
- sum of trade amount in USD
- block time
- transaction hash
Filters
- currency smart contract is 0x7ceb…f619
- block time since 2024-05-16
The query
query(
$network: evm_network
$currency: String
$from: DateTime
) {
top_trades: EVM(network: $network dataset: realtime) {
DEXTradeByTokens(
orderBy: {descendingByField: "amt"}
limit: {count: 10}
where: {
Block: {
Time: {
since: $from
}
}
Trade: {
Currency: {
SmartContract: {
is: $currency
}
}
}
}
) {
amt: sum(of: Trade_AmountInUSD)
Block {
Time
}
Transaction {
Hash
}
}
}
}
Variables
{
"network": "matic",
"currency": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
"from": "2024-05-16T15:00:00Z"
}
Similar queries
- polymarket trades api for specific asset id · Polygon · DEXTradeByTokens
- polymarket trades · Polygon · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- top assets on polymarket · Polygon · DEXTradeByTokens