Polymarket WS redemptions stream
Streams Polymarket redemption payouts to winners after markets resolve.
Streams prediction settlements on Polygon as they happen, where settlement event type is Redemption and marketplace protocol name is polymarket: block time, event type, holder, beneficiary, amounts amount, collateral amount, collateral amount in USD and 5 more fields.
What it returns
- block time
- event type
- holder
- beneficiary
- amounts amount
- collateral amount
- collateral amount in USD
- title
- market ID
- label
- collateral token symbol
- transaction hash
Filters
- settlement event type is Redemption
- marketplace protocol name is polymarket
The subscription
subscription {
EVM(network: matic) {
PredictionSettlements(
where: {
Settlement: {
EventType: { is: "Redemption" }
IsRepeat: false
Prediction: { Marketplace: { ProtocolName: { is: "polymarket" } } }
}
}
) {
Block {
Time
}
Settlement {
EventType
Holder
Beneficiary
Amounts {
Amount
CollateralAmount
CollateralAmountInUSD
}
Prediction {
Question {
Title
MarketId
}
Outcome {
Label
}
CollateralToken {
Symbol
}
}
}
Transaction {
Hash
}
}
}
}