Polymarket WS live odds one outcome
Streams price updates of one Polymarket outcome token selected by asset ID.
Streams prediction trades on Polygon as they happen, where outcome token asset ID is 333397…9665 and marketplace protocol name is polymarket: block time, outcome trade price, price in USD, outcome trade amount, collateral amount in USD, title, market ID and 2 more fields.
What it returns
- block time
- outcome trade price
- price in USD
- outcome trade amount
- collateral amount in USD
- title
- market ID
- label
- asset ID
Filters
- outcome token asset ID is 333397…9665
- marketplace protocol name is polymarket
The subscription
subscription {
EVM(network: matic) {
PredictionTrades(
where: {
TransactionStatus: { Success: true }
Trade: {
Prediction: {
Marketplace: { ProtocolName: { is: "polymarket" } }
OutcomeToken: {
AssetId: {
is: "33339798372916037220786136133406478491116150628220441951753426683441228279665"
}
}
}
}
}
) {
Block {
Time
}
Trade {
OutcomeTrade {
Price
PriceInUSD
Amount
CollateralAmountInUSD
}
Prediction {
Question {
Title
MarketId
}
Outcome {
Label
}
OutcomeToken {
AssetId
}
}
}
}
}
}