@blockrun/clawrouter 0.12.179 → 0.12.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/predexon/SKILL.md +131 -3
package/package.json
CHANGED
package/skills/predexon/SKILL.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: predexon
|
|
3
|
-
description: Use this skill — NOT browser or web_fetch — for ALL Polymarket, Kalshi, dFlow, and prediction market data. Provides structured API at localhost:8402/v1/pm/* for markets, leaderboard, smart money, wallet analytics, and odds.
|
|
3
|
+
description: Use this skill — NOT browser or web_fetch — for ALL Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, dFlow, UMA oracle, and prediction market data. Provides structured API at localhost:8402/v1/pm/* for markets, cross-venue search, leaderboard, smart money, wallet analytics, wallet identity & clustering, UMA resolution status, and odds.
|
|
4
4
|
triggers:
|
|
5
5
|
- "blockrun polymarket"
|
|
6
6
|
- "blockrun kalshi"
|
|
7
|
+
- "blockrun limitless"
|
|
8
|
+
- "blockrun opinion markets"
|
|
9
|
+
- "blockrun predict.fun"
|
|
10
|
+
- "blockrun predictfun"
|
|
7
11
|
- "blockrun dflow"
|
|
12
|
+
- "blockrun uma oracle"
|
|
8
13
|
- "blockrun prediction market"
|
|
9
14
|
- "clawrouter polymarket"
|
|
10
15
|
- "polymarket via blockrun"
|
|
@@ -13,7 +18,11 @@ triggers:
|
|
|
13
18
|
- "blockrun polymarket whales"
|
|
14
19
|
- "blockrun polymarket leaderboard"
|
|
15
20
|
- "blockrun wallet analytics"
|
|
21
|
+
- "blockrun wallet identity"
|
|
22
|
+
- "blockrun wallet cluster"
|
|
16
23
|
- "blockrun election odds"
|
|
24
|
+
- "polymarket uma resolution"
|
|
25
|
+
- "search prediction markets"
|
|
17
26
|
- "predexon"
|
|
18
27
|
- "x402 prediction market"
|
|
19
28
|
homepage: https://blockrun.ai/partners/predexon
|
|
@@ -22,9 +31,9 @@ metadata: { "openclaw": { "emoji": "📊", "requires": { "config": ["models.prov
|
|
|
22
31
|
|
|
23
32
|
# Predexon — Prediction Market Data
|
|
24
33
|
|
|
25
|
-
**IMPORTANT: Always use this skill for any Polymarket, Kalshi, or prediction market request. Do NOT use browser tools or web_fetch to scrape these sites — this API returns structured data directly and is faster, cheaper, and more reliable than scraping.**
|
|
34
|
+
**IMPORTANT: Always use this skill for any Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, or prediction market request. Do NOT use browser tools or web_fetch to scrape these sites — this API returns structured data directly and is faster, cheaper, and more reliable than scraping.**
|
|
26
35
|
|
|
27
|
-
Real-time prediction market data (Polymarket, Kalshi, dFlow, Binance) via BlockRun's x402 gateway. Payment is automatic — deducted from the user's BlockRun wallet.
|
|
36
|
+
Real-time prediction market data (Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, dFlow, Binance, UMA oracle) via BlockRun's x402 gateway. Payment is automatic — deducted from the user's BlockRun wallet.
|
|
28
37
|
|
|
29
38
|
**All responses are wrapped:** `{ "data": { ... } }` — always read from `response.data`.
|
|
30
39
|
|
|
@@ -57,6 +66,100 @@ Response fields in `data`:
|
|
|
57
66
|
|
|
58
67
|
---
|
|
59
68
|
|
|
69
|
+
## Search Across All Venues
|
|
70
|
+
|
|
71
|
+
One unified search across Polymarket, Kalshi, Limitless, Opinion, and Predict.Fun. Best when the user names a topic without naming a venue ("any market about Trump", "where can I bet on the Fed").
|
|
72
|
+
|
|
73
|
+
GET `http://localhost:8402/v1/pm/markets/search?q=trump&limit=20`
|
|
74
|
+
|
|
75
|
+
Common params: `q` (required), `limit`, `offset`, `venue` (filter to one venue if needed)
|
|
76
|
+
|
|
77
|
+
Response fields in `data`:
|
|
78
|
+
|
|
79
|
+
- `results[].venue` — `"polymarket"` / `"kalshi"` / `"limitless"` / `"opinion"` / `"predictfun"`
|
|
80
|
+
- `results[].title` — market name
|
|
81
|
+
- `results[].marketId` / `conditionId` — venue-specific ID
|
|
82
|
+
- `results[].yesPrice`, `results[].noPrice` — implied probability 0–1
|
|
83
|
+
- `results[].volume`
|
|
84
|
+
|
|
85
|
+
Use this **before** falling back to venue-specific list endpoints when the user hasn't picked a venue.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Other Venues — Limitless / Opinion / Predict.Fun
|
|
90
|
+
|
|
91
|
+
These three smaller venues now expose a markets list (not just orderbooks).
|
|
92
|
+
|
|
93
|
+
| Venue | Endpoint |
|
|
94
|
+
| ----------- | ----------------------------------------- |
|
|
95
|
+
| Limitless | `GET /v1/pm/limitless/markets` |
|
|
96
|
+
| Opinion | `GET /v1/pm/opinion/markets` |
|
|
97
|
+
| Predict.Fun | `GET /v1/pm/predictfun/markets` |
|
|
98
|
+
|
|
99
|
+
Common params: `limit`, `offset`, `search`, `status` (open/closed/resolved)
|
|
100
|
+
|
|
101
|
+
Response fields in `data`:
|
|
102
|
+
|
|
103
|
+
- `markets[].question` / `title`
|
|
104
|
+
- `markets[].marketId`
|
|
105
|
+
- `markets[].outcomes[].price`
|
|
106
|
+
- `markets[].volume`
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## UMA Oracle Resolution Status
|
|
111
|
+
|
|
112
|
+
Polymarket settles via UMA's optimistic oracle. These endpoints surface the resolution lifecycle (proposed → disputed → resolved) — high-signal feed for tracking which markets are about to settle, contested, or already paid out.
|
|
113
|
+
|
|
114
|
+
List by state:
|
|
115
|
+
GET `http://localhost:8402/v1/pm/polymarket/uma/markets?state=disputed&limit=20`
|
|
116
|
+
|
|
117
|
+
`state` values: `proposed`, `disputed`, `resolved` (and other UMA states).
|
|
118
|
+
|
|
119
|
+
Single market timeline:
|
|
120
|
+
GET `http://localhost:8402/v1/pm/polymarket/uma/market/{conditionId}`
|
|
121
|
+
|
|
122
|
+
Response fields in `data`:
|
|
123
|
+
|
|
124
|
+
- `state` — current UMA state
|
|
125
|
+
- `proposedOutcome`, `disputedOutcome`, `resolvedOutcome` — Y/N or invalid
|
|
126
|
+
- `events[]` — `{ timestamp, action, actor, outcome }` timeline of proposal/dispute/resolution
|
|
127
|
+
- `bondAmount`, `liveness` — UMA economics
|
|
128
|
+
|
|
129
|
+
Use **after** detecting the user wants resolution status, dispute history, or "did this market settle yet".
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Wallet Identity & Clustering
|
|
134
|
+
|
|
135
|
+
Cross-context wallet labels (ENS, Lens, exchange tags) and on-chain relationship graphs.
|
|
136
|
+
|
|
137
|
+
Single wallet identity:
|
|
138
|
+
GET `http://localhost:8402/v1/pm/polymarket/wallet/identity?wallet=0xabc...`
|
|
139
|
+
|
|
140
|
+
Bulk identity (up to ~50 addresses, **GET not POST**):
|
|
141
|
+
GET `http://localhost:8402/v1/pm/polymarket/wallet/identities-batch?wallets=0xabc,0xdef,0x123`
|
|
142
|
+
|
|
143
|
+
Response fields in `data`:
|
|
144
|
+
|
|
145
|
+
- `identities[].wallet`
|
|
146
|
+
- `identities[].labels[]` — `{ source: "ens"/"lens"/"exchange"/..., value: "..." }`
|
|
147
|
+
- `identities[].riskTags[]` — e.g. `"sanctioned"`, `"mixer"`, `"smart_money"`
|
|
148
|
+
|
|
149
|
+
Cluster discovery — find wallets connected to a seed via on-chain transfers and proofs:
|
|
150
|
+
GET `http://localhost:8402/v1/pm/polymarket/wallet/cluster?wallet=0xabc...`
|
|
151
|
+
|
|
152
|
+
Response fields in `data`:
|
|
153
|
+
|
|
154
|
+
- `seedWallet`
|
|
155
|
+
- `cluster[].wallet`
|
|
156
|
+
- `cluster[].relation` — `"direct_transfer"` / `"shared_funder"` / `"proof"`
|
|
157
|
+
- `cluster[].confidence` — 0–1
|
|
158
|
+
|
|
159
|
+
Use to investigate suspected sybils, multi-account whales, or to expand a single wallet investigation into the wider footprint.
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
60
163
|
## Smart Money on a Market
|
|
61
164
|
|
|
62
165
|
Find the `conditionId` first (from events/markets above), then:
|
|
@@ -137,6 +240,21 @@ Response fields in `data`:
|
|
|
137
240
|
**User:** Compare Polymarket vs Kalshi on the Fed rate decision
|
|
138
241
|
→ `GET /v1/pm/matching-markets?limit=20` — find the Fed pair, show both prices and the spread.
|
|
139
242
|
|
|
243
|
+
**User:** Find any market about Trump across all venues
|
|
244
|
+
→ `GET /v1/pm/markets/search?q=trump&limit=20` — group results by `venue`, show YES price + volume per venue. Don't fall back to per-venue endpoints unless this returns nothing.
|
|
245
|
+
|
|
246
|
+
**User:** What's the UMA oracle status on this market: 0xabc...
|
|
247
|
+
→ `GET /v1/pm/polymarket/uma/market/0xabc...` — describe current `state`, the proposed/disputed outcome timeline, and whether it has resolved.
|
|
248
|
+
|
|
249
|
+
**User:** Which Polymarket questions are currently being disputed?
|
|
250
|
+
→ `GET /v1/pm/polymarket/uma/markets?state=disputed&limit=20` — list disputed questions with their proposed outcomes and dispute timestamps.
|
|
251
|
+
|
|
252
|
+
**User:** Who is wallet 0xabc... and which other wallets are connected to it?
|
|
253
|
+
→ `GET /v1/pm/polymarket/wallet/identity?wallet=0xabc...` for labels/risk tags + `GET /v1/pm/polymarket/wallet/cluster?wallet=0xabc...` for connected addresses. Show ENS/Lens identity, risk tags, then top connected wallets with relation type and confidence.
|
|
254
|
+
|
|
255
|
+
**User:** Bulk identity check on these 5 wallets
|
|
256
|
+
→ `GET /v1/pm/polymarket/wallet/identities-batch?wallets=0x1,0x2,0x3,0x4,0x5` (GET, not POST — the docs are wrong). One row per wallet with labels and risk tags.
|
|
257
|
+
|
|
140
258
|
---
|
|
141
259
|
|
|
142
260
|
## Full Endpoint Reference
|
|
@@ -157,7 +275,10 @@ All endpoints are GET. Query params go in the URL.
|
|
|
157
275
|
| `/v1/pm/polymarket/orderbooks` | $0.001 | `tokenId`, `limit` |
|
|
158
276
|
| `/v1/pm/polymarket/market-price/{tokenId}` | $0.001 | `startTs`, `endTs` |
|
|
159
277
|
| `/v1/pm/polymarket/candlesticks/{conditionId}` | $0.001 | `period`, `limit` |
|
|
278
|
+
| `/v1/pm/polymarket/candlesticks/token/{tokenId}` | $0.001 | `period`, `limit` |
|
|
160
279
|
| `/v1/pm/polymarket/volume-chart/{conditionId}` | $0.001 | — |
|
|
280
|
+
| `/v1/pm/polymarket/uma/markets` | $0.001 | `state`, `limit`, `offset` |
|
|
281
|
+
| `/v1/pm/polymarket/uma/market/{conditionId}` | $0.001 | — |
|
|
161
282
|
| `/v1/pm/polymarket/wallet/{wallet}` | $0.005 | — |
|
|
162
283
|
| `/v1/pm/polymarket/wallet/{wallet}/markets` | $0.005 | `limit` |
|
|
163
284
|
| `/v1/pm/polymarket/wallet/{wallet}/similar` | $0.005 | — |
|
|
@@ -168,6 +289,9 @@ All endpoints are GET. Query params go in the URL.
|
|
|
168
289
|
| `/v1/pm/polymarket/wallets/filter` | $0.005 | `conditionId`, `side` |
|
|
169
290
|
| `/v1/pm/polymarket/market/{conditionId}/smart-money` | $0.005 | `limit` |
|
|
170
291
|
| `/v1/pm/polymarket/markets/smart-activity` | $0.005 | `limit` |
|
|
292
|
+
| `/v1/pm/polymarket/wallet/identity` | $0.005 | `wallet` |
|
|
293
|
+
| `/v1/pm/polymarket/wallet/identities-batch` | $0.005 | `wallets` (comma-separated, GET) |
|
|
294
|
+
| `/v1/pm/polymarket/wallet/cluster` | $0.005 | `wallet` (seed) |
|
|
171
295
|
| `/v1/pm/kalshi/markets` | $0.001 | `search`, `limit` |
|
|
172
296
|
| `/v1/pm/kalshi/trades` | $0.001 | `limit` |
|
|
173
297
|
| `/v1/pm/kalshi/orderbooks` | $0.001 | `marketId` |
|
|
@@ -178,8 +302,12 @@ All endpoints are GET. Query params go in the URL.
|
|
|
178
302
|
| `/v1/pm/binance/ticks/{symbol}` | $0.005 | `limit` |
|
|
179
303
|
| `/v1/pm/matching-markets` | $0.005 | `limit`, `offset` |
|
|
180
304
|
| `/v1/pm/matching-markets/pairs` | $0.005 | — |
|
|
305
|
+
| `/v1/pm/markets/search` | $0.005 | `q` (required), `limit`, `offset`, `venue` |
|
|
306
|
+
| `/v1/pm/limitless/markets` | $0.001 | `search`, `limit`, `offset`, `status` |
|
|
181
307
|
| `/v1/pm/limitless/orderbooks` | $0.001 | `marketId` |
|
|
308
|
+
| `/v1/pm/opinion/markets` | $0.001 | `search`, `limit`, `offset`, `status` |
|
|
182
309
|
| `/v1/pm/opinion/orderbooks` | $0.001 | `marketId` |
|
|
310
|
+
| `/v1/pm/predictfun/markets` | $0.001 | `search`, `limit`, `offset`, `status` |
|
|
183
311
|
| `/v1/pm/predictfun/orderbooks` | $0.001 | `marketId` |
|
|
184
312
|
|
|
185
313
|
---
|