PMWallets
v0.6.6Polymarket smart-money data: rank traders by on-chain PnL, follow them, read their fills.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
leaderboard
Polymarket traders ranked by realized PnL and other stats over a window, with filters. Each row is an entity (one trader, possibly several wallets).
| Parameter | Type | Description |
|---|---|---|
bands | string | unlock price bands to include, comma-separated: 0 = free … 5 |
category | string | market category, e.g. "politics", "sports", "crypto", "crypto-updown", "esports" |
dir | string | |
limit | number | rows, at most 200 (rows count against a daily allowance of 20,000) |
maxWallets | number | at most this many wallets in the entity |
minCategoryShare | number | with category: at least this share (0–1] of the trader's volume in it |
minEligible | number | floor on markets that count toward the win rate |
minFills | number | floor on number of fills |
minPnl | number | floor on realized PnL in USD |
minRoi | number | floor on ROI on buys (0.1 = 10%) |
minVolume | number | floor on traded volume in USD |
minWinLo | number | floor on the lower bound of the 95% win-rate interval (0–1): a win rate that is not luck |
minWinsLosses | number | floor on markets won or lost |
offset | number | rows to skip (signed-in accounts; anonymous callers see a fixed sample) |
period | string | statistics window: "30d" (default) or "7d" |
sort | string | column to sort by (default realizedPnl) |
status | string | |
style | string |
entity
One trader's statistics by handle or address (full address only once unlocked).
| Parameter | Type | Description |
|---|---|---|
id * | string | 12-character handle or 0x address |
period | string | "30d" or "7d" |
subscriptions
The traders this account follows (active and paused subscriptions).
subscribe
Follow a trader: their fills start arriving from now on. BILLS THE ACCOUNT per hour (unless the plan covers it). 402 = balance too low; 409 = no fill for 7 days (retry with acceptInactive).
| Parameter | Type | Description |
|---|---|---|
entityId * | string | handle or 0x address |
acceptInactive | boolean |
cancel_subscription
Stop following (and stop paying for) a subscription, by its id from `subscriptions`.
| Parameter | Type | Description |
|---|---|---|
id * | string | subscription id |
new_fills
Fills of the followed traders since the previous call of this tool (first call: the last hour). Each fill is returned once to this server; the CLI `pmwallets new-fills` shares the position file, so do not poll with both at once (or give each its own PMW_MCP_STATE). Call again while `more` is true.
| Parameter | Type | Description |
|---|---|---|
limit | number | at most this many fills (default 100, max 500) |
fills
Fills of the followed traders strictly after a ledger position (block, logIndex), oldest first. Does not move the new_fills cursor.
| Parameter | Type | Description |
|---|---|---|
sinceBlock * | number | block |
limit | number | max 500 |
sinceLogIndex | number | log index within the block (default 0) |
market
The Polymarket market and outcome an outcome token id belongs to (question, outcome name, slug, end date).
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | outcome token id (decimal) |
account
The account's plan (allowances used) and balance.