price by id in hour
Returns 100 prediction trades on Polygon, where outcome ID is 209393…1424: question ID, image, title, label, outcome ID, smart contract, asset ID and 5 more fields.
What it returns
- question ID
- image
- title
- label
- outcome ID
- smart contract
- asset ID
- outcome token symbol
- block time
- sum of trade outcome trade collateral amount
- sum of trade outcome trade amount
- calculate
Filters
- outcome ID is 209393…1424
The query
query pairs {
EVM(network: matic) {
PredictionTrades(
where: {TransactionStatus: {Success: true}, Trade: {OutcomeTrade: {}, Prediction: {Outcome: {Id: {eq: "20939351535690701474621316837957321939118947084394902825750156021315806001424"}}}}}
limit: {count: 100}
) {
Trade {
Prediction {
Question {
Id
Image
Title
}
Outcome {
Label
Id
}
OutcomeToken {
SmartContract
AssetId
Symbol
}
}
}
Block {
Time(interval:{in:hours})
}
token: sum(of: Trade_OutcomeTrade_CollateralAmount)
colleta: sum(of: Trade_OutcomeTrade_Amount)
price: calculate(expression: "$colleta / $token")
}
}
}
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