Polymarket WS latest trades snapshot
Returns the newest Polymarket trades of the last 10 minutes.
Returns the latest 50 prediction trades on Polygon, where marketplace protocol name is polymarket: block time, buyer, seller, outcome trade amount, collateral amount in USD, outcome trade price, is outcome buy and 4 more fields.
What it returns
- block time
- buyer
- seller
- outcome trade amount
- collateral amount in USD
- outcome trade price
- is outcome buy
- title
- market ID
- label
- transaction hash
Filters
- marketplace protocol name is polymarket
The query
query {
EVM(network: matic) {
PredictionTrades(
limit: { count: 50 }
orderBy: { descending: Block_Time }
where: {
TransactionStatus: { Success: true }
Block: { Time: { since_relative: { minutes_ago: 10 } } }
Trade: {
Prediction: { Marketplace: { ProtocolName: { is: "polymarket" } } }
}
}
) {
Block {
Time
}
Trade {
OutcomeTrade {
Buyer
Seller
Amount
CollateralAmountInUSD
Price
IsOutcomeBuy
}
Prediction {
Question {
Title
MarketId
}
Outcome {
Label
}
}
}
Transaction {
Hash
}
}
}
}