top markets discovery
Returns 50 prediction trades on Polygon, where marketplace protocol name is polymarket, sorted by volume USD, highest first: question ID, market ID, title, created at, sum of trade outcome trade collateral amount in USD and count.
What it returns
- question ID
- market ID
- title
- created at
- sum of trade outcome trade collateral amount in USD
- count
Filters
- marketplace protocol name is polymarket
The query
query TopPolymarketMarkets($limit: Int!) {
EVM(dataset: realtime, network: matic) {
PredictionTrades(
where: {TransactionStatus: {Success: true}, Block: {Time: {since_relative: {days_ago: 4}}}, Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}}
limit: {count: $limit}
limitBy: {by: Trade_Prediction_Question_Id, count: 1}
orderBy: {descendingByField: "volume_usd"}
) {
Trade {
Prediction {
Question {
Id
MarketId
Title
CreatedAt
}
}
}
volume_usd: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
trades: count
buyers: count(distinct: Trade_OutcomeTrade_Buyer)
sellers: count(distinct: Trade_OutcomeTrade_Seller)
}
}
}
Variables
{
"limit": 50
}
Similar queries
- Polymarket Volume by Exchange Contract and Collateral · Polygon · PredictionTrades
- latest prediction market trades · Polygon · PredictionTrades
- activity of user · Polygon · PredictionTrades
- Polymarket Notional Volume, Taker Volume,Maker Volume · Polygon · PredictionTrades
- buys and sells of a wallet on polymarket · Polygon · PredictionTrades