top markets by volume for past 24 hours
Returns 100 prediction trades on Polygon, where marketplace protocol name is polymarket, sorted by sum buy and sell, highest first: question ID, image, title, created at, sum of trade outcome trade collateral amount in USD and calculate.
What it returns
- question ID
- image
- title
- created at
- sum of trade outcome trade collateral amount in USD
- calculate
Filters
- marketplace protocol name is polymarket
The query
query questionsByVolume {
EVM(network: matic) {
PredictionTrades(
where: {
TransactionStatus: {Success: true}
Block: {Time: {since_relative: {hours_ago: 24}}}
Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}
}
limit: {count: 100}
orderBy: {descendingByField: "sumBuyAndSell"}
limitBy: {by: Trade_Prediction_Question_Id}
) {
Trade { Prediction { Question { Id Image Title CreatedAt } } }
buyUSD: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: {Trade: {OutcomeTrade: {IsOutcomeBuy: true}}}
)
sellUSD: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: {Trade: {OutcomeTrade: {IsOutcomeBuy: false}}}
)
sumBuyAndSell: calculate(expression: "$buyUSD + $sellUSD")
}
}
}
Variables
{
}
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