Skip to content

Commit 2e28f65

Browse files
updates to prediction market docs
1 parent 37976d2 commit 2e28f65

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

docs/examples/polymarket-api/polymarket-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ keywords:
2424

2525
# Polymarket API - Modern APIs for Prediction Markets
2626

27-
**Query Polymarket trades, settlements, and market data using optimized GraphQL APIs**. Stream real-time data via Kafka for ultra-low-latency applications.
27+
Query Polymarket trades, settlements, and market data using optimized GraphQL APIs. Stream real-time data via Kafka for ultra-low-latency applications.
2828

2929
:::note API Key Required
3030
To query or stream data outside the Bitquery IDE, you need an API access token.

docs/examples/prediction-market/prediction-managements-api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -569,17 +569,5 @@ query LatestMarketResolutions {
569569
}
570570
```
571571

572-
---
573-
574-
## Use cases
575-
576-
| Use case | Approach |
577-
| -------- | -------- |
578-
| **Live creation + resolution feed** | Use the real-time *Prediction managements stream* subscription. |
579-
| **Recent activity (any type)** | Use *Latest managements* with `limit` and `orderBy: { descending: Block_Time }`. |
580-
| **New markets only (stream)** | Use *Real-time market creations* with `EventType: { is: "Created" }`. |
581-
| **Resolutions only (stream)** | Use *Real-time market resolutions* with `EventType: { is: "Resolved" }`. |
582-
| **Latest creations (historical)** | Use *Latest market creations* query. |
583-
| **Latest resolutions** | Use *Latest market resolutions* query. |
584572

585573
For trades on outcome tokens, see [Prediction Market Trades API](../prediction-trades-api). For settlements (split, merge, redemption), see [Prediction Market Settlements API](../prediction-settlements-api).

docs/examples/prediction-market/prediction-market-api.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ keywords:
1919

2020
The **Prediction Market API** is a **universal** API for querying **market lifecycle events**, **trades**, and **settlements** across prediction markets (e.g. Polymarket). Use it to filter by question title, event type, outcome, collateral token, and more. Additional prediction markets will be supported soon.
2121

22-
**Networks:** Currently **Polygon** (`network: matic`). More EVM chains coming soon.
22+
**Networks:** Currently **Polygon** (`network: matic`). More prediction markets coming soon.
2323

2424
### Lifecycle flow
2525

@@ -37,7 +37,11 @@ For contract-level and event-based Polymarket data (e.g. OrderFilled, ConditionR
3737

3838
## PredictionManagements
3939

40-
**PredictionManagements** returns market lifecycle events: **Created** (new market) and **Resolved** (outcome determined). You can filter by question title, event type, and prediction metadata (e.g. image URL, resolution source). For more examples (real-time stream, creations-only and resolutions-only subscriptions, counts), see the [Prediction Market Managements API](../prediction-managements-api) doc. Each event includes:
40+
**PredictionManagements** returns market lifecycle events:
41+
42+
**Created** (new market) and **Resolved** (outcome determined). You can filter by question title, event type, and prediction metadata (e.g. image URL, resolution source). For more examples (real-time stream, creations-only and resolutions-only subscriptions, counts), see the [Prediction Market Managements API](../prediction-managements-api) doc.
43+
44+
Each event includes:
4145

4246
- `EventType`: `"Created"` or `"Resolved"`
4347
- **Image** — market image URL (e.g. Polymarket asset)

0 commit comments

Comments
 (0)