Polymarket history market trades past window
Trades of one Polymarket market from a two-day window that ended 12 days ago.
Returns the latest 50 prediction trades on Polygon, where marketplace protocol name is polymarket and question market ID is 6977205: block time, transaction hash, buyer, seller, outcome trade amount, collateral amount in USD, outcome trade price and label.
What it returns
- block time
- transaction hash
- buyer
- seller
- outcome trade amount
- collateral amount in USD
- outcome trade price
- label
Filters
- marketplace protocol name is polymarket
- question market ID is 6977205
The query
{
EVM(dataset: combined, network: matic) {
PredictionTrades(
where: {
TransactionStatus: { Success: true }
Block: {
Time: {
after_relative: { days_ago: 14 }
before_relative: { days_ago: 12 }
}
}
Trade: {
Prediction: {
Marketplace: { ProtocolName: { is: "polymarket" } }
Question: { MarketId: { is: "6977205" } }
}
}
}
orderBy: { descending: Block_Time }
limit: { count: 50 }
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
OutcomeTrade {
Buyer
Seller
Amount
CollateralAmountInUSD
Price
}
Prediction {
Outcome {
Label
}
}
}
}
}
}