Polymarket WS live trades all markets
Streams every Polymarket trade on Polygon as it settles.
Streams prediction trades on Polygon as they happen, where marketplace protocol name is polymarket: block time, buyer, seller, outcome trade amount, collateral amount, collateral amount in USD, outcome trade price and 10 more fields.
What it returns
- block time
- buyer
- seller
- outcome trade amount
- collateral amount
- collateral amount in USD
- outcome trade price
- price in USD
- is outcome buy
- condition ID
- title
- market ID
- question ID
- label
- asset ID
- collateral token symbol
- transaction hash
Filters
- marketplace protocol name is polymarket
The subscription
subscription {
EVM(network: matic) {
PredictionTrades(
where: {
TransactionStatus: { Success: true }
Trade: {
Prediction: { Marketplace: { ProtocolName: { is: "polymarket" } } }
}
}
) {
Block {
Time
}
Trade {
OutcomeTrade {
Buyer
Seller
Amount
CollateralAmount
CollateralAmountInUSD
Price
PriceInUSD
IsOutcomeBuy
}
Prediction {
ConditionId
Question {
Title
MarketId
Id
}
Outcome {
Label
}
OutcomeToken {
AssetId
}
CollateralToken {
Symbol
}
}
}
Transaction {
Hash
}
}
}
}