price by AssetId
Returns prediction trades on Polygon, where outcome token asset ID is 0xb9aa…b400 and block time since 2026-02-23: price in USD and block time.
What it returns
- price in USD
- block time
Filters
- outcome token asset ID is 0xb9aa…b400
- block time since 2026-02-23
The query
query questionLastTrades($time_ago: DateTime, $questionID: String!) {
EVM(network: matic) {
PredictionTrades(
where: {TransactionStatus: {Success: true}, Trade: {Prediction: {OutcomeToken: {AssetId: {is: $questionID}}}}, Block: {Time: {since: $time_ago}}}
) {
Trade {
OutcomeTrade {
open: PriceInUSD(minimum: Block_Time)
close: PriceInUSD(maximum: Block_Time)
max: PriceInUSD(maximum: Block_Time)
min: PriceInUSD(minimum: Block_Time)
}
}
Block {
Time(interval: {count: 5, in: minutes})
}
}
}
}
Variables
{
"questionID": "0xb9aa4595bbe8ca1ecceeb16d24fb5df6d27d4e2116787ad874ff31f682bdb400",
"time_ago": "2026-02-23T07:51:04Z",
"AssetId": "16040015440196279900485035793550429453516625694844857319147506590755961451627"
}
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