Crude Oil market stats last 6h
Returns prediction trades on Polygon: title, resolution source, image, market ID, question ID, created at and sum of trade outcome trade collateral amount in USD.
What it returns
- title
- resolution source
- image
- market ID
- question ID
- created at
- sum of trade outcome trade collateral amount in USD
The query
query MyQuery {
EVM(network: matic) {
PredictionTrades(
where: {Block: {Time: {since_relative: {hours_ago: 6}}}, TransactionStatus: {Success: true}, Trade: {Prediction: {OutcomeToken: {}, Question: {ResolutionSource: {includesCaseInsensitive: "www.eia.gov"}}}}}
) {
Trade {
Prediction {
Question {
Title
ResolutionSource
Image
MarketId
Id
CreatedAt
}
}
}
yes_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: {Trade: {Prediction: {Outcome: {Label: {is: "Yes"}}}}}
)
no_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: {Trade: {Prediction: {Outcome: {Label: {is: "No"}}}}}
)
total_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
}
}
}
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