Polymarket-game-volume-by-outcome
Returns prediction trades on Polygon, where question market ID is 2465018: title, market ID, image, resolution source, label, sum of trade outcome trade collateral amount in USD and count.
What it returns
- title
- market ID
- image
- resolution source
- label
- sum of trade outcome trade collateral amount in USD
- count
Filters
- question market ID is 2465018
The query
query GameVolumeByOutcome {
EVM(network: matic) {
PredictionTrades(
where: {
Block: { Time: { since_relative: { hours_ago: 24 } } }
Trade: {
Prediction: { Question: { MarketId: { is: "2465018" } } }
}
}
) {
Trade {
Prediction {
Question {
Title
MarketId
Image
ResolutionSource
}
Outcome {
label0: Label(
if: { Trade: { Prediction: { Outcome: { Index: { eq: 0 } } } } }
)
label1: Label(
if: { Trade: { Prediction: { Outcome: { Index: { eq: 1 } } } } }
)
}
}
}
outcome0_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: { Trade: { Prediction: { Outcome: { Index: { eq: 0 } } } } }
)
outcome1_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: { Trade: { Prediction: { Outcome: { Index: { eq: 1 } } } } }
)
total_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
trades: count
}
}
}
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