Polymarket WS new markets stream
Streams new Polymarket markets with their outcomes as they are created.
Streams prediction managements on Polygon as they happen, where management event type is Created and marketplace protocol name is polymarket: block time, event type, title, market ID, question ID, created at, condition ID and 5 more fields.
What it returns
- block time
- event type
- title
- market ID
- question ID
- created at
- condition ID
- outcomes ID
- outcomes index
- label
- collateral token symbol
- transaction hash
Filters
- management event type is Created
- marketplace protocol name is polymarket
The subscription
subscription {
EVM(network: matic) {
PredictionManagements(
where: {
Management: {
EventType: { is: "Created" }
Prediction: { Marketplace: { ProtocolName: { is: "polymarket" } } }
}
}
) {
Block {
Time
}
Management {
EventType
Prediction {
Question {
Title
MarketId
Id
CreatedAt
}
Condition {
Id
Outcomes {
Id
Index
Label
}
}
CollateralToken {
Symbol
}
}
}
Transaction {
Hash
}
}
}
}