madeonsol 2.6.3 → 2.7.1
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/README.md +1017 -936
- package/dist/index.d.ts +289 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +85 -0
- package/dist/index.js.map +1 -1
- package/llms.txt +94 -94
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,936 +1,1017 @@
|
|
|
1
|
-
# madeonsol
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/madeonsol)
|
|
4
|
-
[](https://www.npmjs.com/package/madeonsol)
|
|
5
|
-
[](https://github.com/LamboPoewert/madeonsol-sdk)
|
|
6
|
-
[](https://www.typescriptlang.org/)
|
|
7
|
-
[](package.json)
|
|
8
|
-
[](LICENSE)
|
|
9
|
-
|
|
10
|
-
> ⭐ **[Star on GitHub](https://github.com/LamboPoewert/madeonsol-sdk)** if you find this useful · 📂 **[Examples](./examples/)** · 📚 **[API docs](https://madeonsol.com/api-docs)**
|
|
11
|
-
|
|
12
|
-
Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com) Solana API** — zero dependencies, fully typed, works in Node.js ≥ 18 and edge runtimes.
|
|
13
|
-
> Real-time Solana trading intelligence: track 1,000+ KOL wallets with <3s latency, score 6,700+ Pump.fun deployers by reputation, detect multi-KOL coordination signals, and stream every DEX trade across 9+ programs. Free tier: 200 requests/day at [madeonsol.com/pricing](https://madeonsol.com/pricing) — no credit card required.
|
|
14
|
-
|
|
15
|
-
> **New in 2.6.1** *(2026-05-13)* — **Velocity types fixed.** Velocity fields are now correctly typed as `mc_change_pct`, `volume_usd`, `mev_volume_pct` — each its own object keyed by `5m`/`15m`/`1h`/`2h`/`4h` — to match the actual API response. The 2.6.0 shape (`velocity[window].mc_change_pct`) was wrong; clients reading it would get `undefined`. Patch is type-only — no runtime breaking changes.
|
|
16
|
-
>
|
|
17
|
-
> **New in 2.6.0** *(2026-05-12)* — **Token directory + self-inspection.** `client.token.list({ min_liq, min_volume_1h_usd, max_mev_share_pct, mc_change_1h_min_pct, sort, ... })` — browse and filter every active mint, with default `min_liq=2000` to skip phantom-MC dust. `client.me()` — read your tier, daily/burst quota state, and per-feature usage in one call (no header parsing). Velocity / MEV-share fields added to every `TokenResponseBody`: `mc_change_pct`, `volume_usd`, `mev_volume_pct` (each keyed by `5m`/`15m`/`1h`/`2h`/`4h`) plus `history_age_seconds` on the parent. `/token/{mint}` 400s now ship `code`, `reason`, `received_length`, `example`, and `docs` URL — stop guessing why a mint failed. Deprecated `avg_entry_mc_usd` / `entry_mc_samples` removed from leaderboard types. All other 2.5.x APIs unchanged.
|
|
18
|
-
|
|
19
|
-
> **Build Solana trading bots, analytics dashboards, KOL copy-trading tools, deployer sniper bots, and ecosystem browsers.**
|
|
20
|
-
|
|
21
|
-
## Quick start (10 seconds)
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm install madeonsol
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
```ts
|
|
28
|
-
import { MadeOnSol } from "madeonsol";
|
|
29
|
-
const client = new MadeOnSol({ apiKey: "msk_..." }); // free tier at madeonsol.com/pricing
|
|
30
|
-
const { trades } = await client.kol.feed({ limit: 5, action: "buy" });
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
| Feature | Description |
|
|
34
|
-
|---|---|
|
|
35
|
-
| **KOL Tracker** | Real-time trade feed, PnL leaderboard with five time windows (today, 7d, 30d, 90d, 180d), coordination detection, per-wallet profiles, and deep PnL analytics for 1,000+ tracked KOL wallets. **180 days of trade history** retained. |
|
|
36
|
-
| **Alpha Wallet Intel** | Leaderboard of 47,000+ scored early-buyer wallets, full wallet profiles, linked-wallet clustering, token cap-table enrichment, and 0–100 buyer quality scores. |
|
|
37
|
-
| **Wallet Tracker** | Monitor any Solana wallet for swaps and transfers. Track up to 10/50/100 wallets (Free/Pro/Ultra). Full wallets, counterparties, and tx_signatures on every tier. 120-day event retention. WS events on ULTRA. |
|
|
38
|
-
| **Deployer Hunter** | Pump.fun deployer scoring, tier leaderboard, deploy alerts, and bonding intelligence |
|
|
39
|
-
| **DEX Trade Stream** | Real-time WebSocket stream of ALL Solana DEX trades — filter by token, wallet, program, or trade size (Ultra) |
|
|
40
|
-
| **Webhooks** | Push notifications for KOL trades, coordination signals, deployer alerts, and wallet tracker events (Pro/Ultra) |
|
|
41
|
-
| **Tool Directory** | Search 950+ Solana tools and dApps indexed on MadeOnSol |
|
|
42
|
-
|
|
43
|
-
**Links:** [Full docs](https://madeonsol.com/solana-api) · [Website](https://madeonsol.com) · [API docs](https://madeonsol.com/api-docs)
|
|
44
|
-
|
|
45
|
-
## Authentication
|
|
46
|
-
|
|
47
|
-
Get a free API key at [madeonsol.com/pricing](https://madeonsol.com/pricing). Keys start with `msk_`.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## Install
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npm install madeonsol
|
|
55
|
-
# or
|
|
56
|
-
yarn add madeonsol
|
|
57
|
-
# or
|
|
58
|
-
pnpm add madeonsol
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Requires **Node.js ≥ 18** (uses native `fetch`). Works out of the box in Cloudflare Workers, Vercel Edge, and Bun.
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
## Quick start
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
import { MadeOnSol } from "madeonsol";
|
|
69
|
-
|
|
70
|
-
const client = new MadeOnSol({ apiKey: "msk_your_api_key_here" });
|
|
71
|
-
|
|
72
|
-
// Latest KOL buy trades
|
|
73
|
-
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });
|
|
74
|
-
console.log(trades[0].kol_name, "bought", trades[0].token_symbol);
|
|
75
|
-
|
|
76
|
-
// Elite deployer leaderboard
|
|
77
|
-
const { deployers } = await client.deployer.leaderboard({ tier: "elite" });
|
|
78
|
-
|
|
79
|
-
// Recent deploy alerts
|
|
80
|
-
const { alerts } = await client.deployer.alerts({ limit: 5 });
|
|
81
|
-
|
|
82
|
-
// Search Solana tools
|
|
83
|
-
const { tools } = await client.tools.search({ q: "trading", limit: 10 });
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## Use cases
|
|
89
|
-
|
|
90
|
-
- **Copy-trading bot** — stream KOL buys via `client.kol.feed()` and mirror trades
|
|
91
|
-
- **DEX trade sniping** — subscribe to the all-DEX stream filtered by token or wallet
|
|
92
|
-
- **Deployer sniper** — monitor `client.deployer.alerts()` for elite-tier launches
|
|
93
|
-
- **Coordination detector** — flag tokens with `client.kol.coordination({ min_kols: 3 })`
|
|
94
|
-
- **Scout signal** — track first-KOL-touch events filtered to S/A-tier scouts via `client.kol.firstTouches({ preset: "scout" })`
|
|
95
|
-
- **Analytics dashboard** — combine leaderboard, PnL, and tool data
|
|
96
|
-
- **Telegram/Discord bot** — pipe alerts via webhooks into chat
|
|
97
|
-
- **Portfolio tracker** — use `client.kol.wallet()` to follow specific KOL positions
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## API Reference
|
|
102
|
-
|
|
103
|
-
### KOL Tracker — `client.kol`
|
|
104
|
-
|
|
105
|
-
#### `client.kol.feed(params?)`
|
|
106
|
-
|
|
107
|
-
Live feed of trades made by tracked KOL wallets.
|
|
108
|
-
|
|
109
|
-
```ts
|
|
110
|
-
const { trades, count } = await client.kol.feed({
|
|
111
|
-
limit: 50, // 1–100, default 50
|
|
112
|
-
action: "buy", // "buy" | "sell"
|
|
113
|
-
kol: "7xKX...", // filter by specific wallet
|
|
114
|
-
});
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Returns: `KolFeedResponse` — `{ trades: KolTrade[], count: number }`
|
|
118
|
-
|
|
119
|
-
Each `KolTrade` includes `market_cap_usd_at_trade` and `price_usd_at_trade` — the token's MC and price at the exact moment the swap fired, sourced from our in-memory price tracker (real-time, faster than Dexscreener spot). Use these to surface "KOL bought $X SOL of token at $Y MC" without a second lookup.
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
#### `client.kol.leaderboard(params?)`
|
|
124
|
-
|
|
125
|
-
KOL PnL leaderboard ranked by realized profit.
|
|
126
|
-
|
|
127
|
-
```ts
|
|
128
|
-
const { leaderboard, period } = await client.kol.leaderboard({
|
|
129
|
-
period: "7d", // "today" | "7d" | "30d" | "90d" | "180d", default "7d"
|
|
130
|
-
});
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
> **180-day retention** — KOL trade data is retained for 180 days (extended from 31 on 2026-04-07). The 90d and 180d windows fill up over time as the trade table accumulates.
|
|
134
|
-
|
|
135
|
-
Returns: `KolLeaderboardResponse`
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
#### `client.kol.wallet(wallet, params?)`
|
|
140
|
-
|
|
141
|
-
Full profile for a single KOL wallet, including trade history and optional per-token PnL breakdown.
|
|
142
|
-
|
|
143
|
-
```ts
|
|
144
|
-
const profile = await client.kol.wallet("7xKX...", {
|
|
145
|
-
include: "pnl_by_token",
|
|
146
|
-
});
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Returns: `KolWalletProfile`
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
|
-
#### `client.kol.coordination(params?)`
|
|
154
|
-
|
|
155
|
-
Detect tokens where multiple KOLs are buying simultaneously — a strong signal of coordinated pumps. **v1.1** adds peak-density windows, exit tracking, and a composite 0–100 coordination score.
|
|
156
|
-
|
|
157
|
-
```ts
|
|
158
|
-
const { coordination, score_version, window_minutes } = await client.kol.coordination({
|
|
159
|
-
period: "24h", // "1h" | "6h" | "24h" | "7d", default "24h"
|
|
160
|
-
min_kols: 3, // 2–50, default 3
|
|
161
|
-
limit: 20, // 1–50, default 20
|
|
162
|
-
window_minutes: 15, // v1.1 — peak-density window in minutes (1–60)
|
|
163
|
-
min_score: 60, // v1.1 — filter by composite score (0–100)
|
|
164
|
-
include_majors: false, // v1.1 — include WIF/BONK/POPCAT
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
for (const c of coordination) {
|
|
168
|
-
console.log(c.token_symbol, "score", c.coordination_score, "peak", c.peak_kols, "exited", c.exited_count);
|
|
169
|
-
// c.kols[]: { name, wallet, buy_sol, sell_sol, exited }
|
|
170
|
-
}
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
Returns: `KolCoordinationResponse` — `{ coordination: CoordinatedToken[], score_version, window_minutes }`
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
#### `client.coordinationAlerts.*` (v1.1)
|
|
178
|
-
|
|
179
|
-
Create **real-time push alerts** that fire the moment a new coordination cluster forms. Alerts are evaluated per-trade by the signal-evaluator service (sub-second latency), delivered via WebSocket channel `kol:coordination` and/or HMAC-signed webhook. **PRO: 5 rules, ULTRA: 20 rules.**
|
|
180
|
-
|
|
181
|
-
```ts
|
|
182
|
-
// Create a rule: ≥5 KOLs, 10-min window, score ≥70, webhook delivery
|
|
183
|
-
const { rule, webhook_secret } = await client.coordinationAlerts.create({
|
|
184
|
-
name: "strong-clusters",
|
|
185
|
-
min_kols: 5,
|
|
186
|
-
window_minutes: 10,
|
|
187
|
-
min_score: 70,
|
|
188
|
-
include_majors: false,
|
|
189
|
-
cooldown_min: 30, // don't re-fire same token within 30 min
|
|
190
|
-
score_jump_break: 15, // UNLESS score jumps by 15+ (catches conviction surges)
|
|
191
|
-
delivery_mode: "webhook", // "websocket" | "webhook" | "both"
|
|
192
|
-
webhook_url: "https://example.com/coord-hook",
|
|
193
|
-
});
|
|
194
|
-
// SAVE webhook_secret — used for HMAC-SHA256 signature verification.
|
|
195
|
-
|
|
196
|
-
await client.coordinationAlerts.list();
|
|
197
|
-
await client.coordinationAlerts.get(rule.id);
|
|
198
|
-
await client.coordinationAlerts.update(rule.id, { min_score: 80, is_active: false });
|
|
199
|
-
await client.coordinationAlerts.delete(rule.id);
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
Webhook signatures: header `X-MadeOnSol-Signature` = `sha256(timestamp + "." + body)` with `webhook_secret` as the HMAC key. Reject deliveries older than ~5 min.
|
|
203
|
-
|
|
204
|
-
WebSocket delivery: subscribe to channel `kol:coordination` on `wss://madeonsol.com/ws/v1/stream` — events are user-scoped (you only receive your own rule fires).
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
#### `client.kol.firstTouches(params?)` *(new in 2.2)*
|
|
209
|
-
|
|
210
|
-
Recent first-KOL-touch events on tokens — every time a tracked KOL was the first to buy a given mint. Filterable by **scout tier** (S/A/B/C from the per-KOL `mv_kol_scout_score` view), KOL winrate, token age, mint suffix, etc.
|
|
211
|
-
|
|
212
|
-
**Backtested signal:** top scouts attract ≥3 follow-on KOLs within 4h ~50% of the time vs ~14% baseline (38d / 491k buys / 72,549 events). The full leaderboard is at [madeonsol.com/kol/scouts](https://madeonsol.com/kol/scouts).
|
|
213
|
-
|
|
214
|
-
```ts
|
|
215
|
-
// S-tier scouts on tokens younger than 1h
|
|
216
|
-
const { events } = await client.kol.firstTouches({
|
|
217
|
-
preset: "scout",
|
|
218
|
-
min_scout_tier: "S",
|
|
219
|
-
limit: 20,
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
for (const e of events) {
|
|
223
|
-
console.log(e.first_kol.name, "scouted", e.token_symbol, `(scout_score=${e.first_kol.scout_score}%)`);
|
|
224
|
-
}
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
Filter knobs: `since`, `before`, `limit`, `kol`, `min_kol_winrate_7d`, `min_scout_tier`, `min_n_touches`, `strategy`, `token_age_max_min`, `min_first_buy_sol`, `mint_suffix`, `preset` (`"scout"` or `"fresh_launch"`), `include` (e.g. `"followers_4h"`).
|
|
228
|
-
|
|
229
|
-
> **Don't poll — push.** Median lead time before the second KOL is **12 seconds**, so REST polling will lose the swarm. Subscribe to the `kol:first_touches` WebSocket channel (PRO+) or, on Ultra, create an HMAC-signed webhook subscription via `client.firstTouchSubscriptions.create({...})`.
|
|
230
|
-
|
|
231
|
-
Returns: `FirstTouchesResponse`
|
|
232
|
-
|
|
233
|
-
---
|
|
234
|
-
|
|
235
|
-
#### `client.firstTouchSubscriptions.*` *(Ultra)*
|
|
236
|
-
|
|
237
|
-
Create push-delivery rules for first-touch events. Up to 10 active subscriptions per Ultra user.
|
|
238
|
-
|
|
239
|
-
```ts
|
|
240
|
-
const { subscription, webhook_secret } = await client.firstTouchSubscriptions.create({
|
|
241
|
-
name: "S-tier scouts on pump tokens",
|
|
242
|
-
filters: { min_scout_tier: "S", mint_suffix: "pump" },
|
|
243
|
-
delivery_mode: "webhook",
|
|
244
|
-
webhook_url: "https://my.bot/hooks/scout",
|
|
245
|
-
});
|
|
246
|
-
// store webhook_secret — shown once
|
|
247
|
-
|
|
248
|
-
await client.firstTouchSubscriptions.list();
|
|
249
|
-
await client.firstTouchSubscriptions.update(subscription.id, { is_active: false });
|
|
250
|
-
await client.firstTouchSubscriptions.delete(subscription.id);
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
Same HMAC scheme as coordination alerts. WebSocket channel: `kol:first_touches`.
|
|
254
|
-
|
|
255
|
-
---
|
|
256
|
-
|
|
257
|
-
#### `client.kol.token(mint)`
|
|
258
|
-
|
|
259
|
-
KOL buy/sell activity for a specific token mint.
|
|
260
|
-
|
|
261
|
-
```ts
|
|
262
|
-
const activity = await client.kol.token("EPjFW...");
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
Returns: `KolTokenActivity`
|
|
266
|
-
|
|
267
|
-
---
|
|
268
|
-
|
|
269
|
-
#### `client.kol.pnl(wallet, params?)`
|
|
270
|
-
|
|
271
|
-
Deep per-wallet PnL breakdown with equity curve, risk metrics, and position history.
|
|
272
|
-
|
|
273
|
-
```ts
|
|
274
|
-
const pnl = await client.kol.pnl("7xKX...", {
|
|
275
|
-
period: "30d", // "7d" | "30d" | "90d" | "180d", default "30d"
|
|
276
|
-
});
|
|
277
|
-
// All tiers: summary + equity curve + closed positions
|
|
278
|
-
// ULTRA: + open positions (tokens bought but not yet sold)
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
Returns: `KolPnlResponse`
|
|
282
|
-
|
|
283
|
-
---
|
|
284
|
-
|
|
285
|
-
#### `client.kol.trendingTokens(params?)`
|
|
286
|
-
|
|
287
|
-
Tokens ranked by KOL buy volume across multiple time windows.
|
|
288
|
-
|
|
289
|
-
```ts
|
|
290
|
-
const { tokens } = await client.kol.trendingTokens({
|
|
291
|
-
period: "1h", // "5m" | "15m" | "30m" | "1h" | "4h" | "8h" | "12h", default "1h"
|
|
292
|
-
min_kols: 2, // minimum distinct KOL buyers
|
|
293
|
-
limit: 20, // 1–50, default 20
|
|
294
|
-
});
|
|
295
|
-
// Available on all tiers; ULTRA unlocks full KOL wallet addresses per token
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
Returns: `KolTrendingTokensResponse`
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
### Alpha Wallet Intelligence — `client.alpha`
|
|
303
|
-
|
|
304
|
-
#### `client.alpha.leaderboard(params?)`
|
|
305
|
-
|
|
306
|
-
Leaderboard of 47,000+ scored early-buyer wallets ranked by win rate, PnL, or ROI.
|
|
307
|
-
|
|
308
|
-
```ts
|
|
309
|
-
const { wallets } = await client.alpha.leaderboard({
|
|
310
|
-
period: "30d", // "7d" | "30d" | "90d", default "30d"
|
|
311
|
-
sort: "win_rate", // "win_rate" | "pnl" | "roi"
|
|
312
|
-
min_tokens: 5,
|
|
313
|
-
exclude_bots: true,
|
|
314
|
-
});
|
|
315
|
-
// Up to 100 results on Free/Pro; ULTRA unlocks 500 + bot signals
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
Returns: `AlphaLeaderboardResponse`
|
|
319
|
-
|
|
320
|
-
---
|
|
321
|
-
|
|
322
|
-
#### `client.alpha.wallet(wallet)`
|
|
323
|
-
|
|
324
|
-
Full profile for an alpha wallet including per-token history and bot signals. ULTRA only.
|
|
325
|
-
|
|
326
|
-
```ts
|
|
327
|
-
const profile = await client.alpha.wallet("7xKX...");
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
Returns: `AlphaWalletResponse`
|
|
331
|
-
|
|
332
|
-
---
|
|
333
|
-
|
|
334
|
-
#### `client.alpha.linked(wallet)`
|
|
335
|
-
|
|
336
|
-
Linked-wallet clustering — wallets that co-bought with this address within 2 seconds. ULTRA only.
|
|
337
|
-
|
|
338
|
-
```ts
|
|
339
|
-
const { linked } = await client.alpha.linked("7xKX...");
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
Returns: `AlphaLinkedResponse`
|
|
343
|
-
|
|
344
|
-
---
|
|
345
|
-
|
|
346
|
-
#### `client.alpha.capTable(mint)`
|
|
347
|
-
|
|
348
|
-
First buyers for a token enriched with historical win rates, PnL, and KOL identity. PRO/ULTRA.
|
|
349
|
-
|
|
350
|
-
```ts
|
|
351
|
-
const { buyers } = await client.alpha.capTable("EPjFW...");
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
Returns: `AlphaCapTableResponse`
|
|
355
|
-
|
|
356
|
-
---
|
|
357
|
-
|
|
358
|
-
#### `client.alpha.buyerQuality(mint)`
|
|
359
|
-
|
|
360
|
-
0–100 cohort quality score based on the profile of a token's first buyers. All tiers. 5-minute cache.
|
|
361
|
-
|
|
362
|
-
```ts
|
|
363
|
-
const { score } = await client.alpha.buyerQuality("EPjFW...");
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
Returns: `AlphaBuyerQualityResponse`
|
|
367
|
-
|
|
368
|
-
---
|
|
369
|
-
|
|
370
|
-
### Wallet Tracker — `client.walletTracker`
|
|
371
|
-
|
|
372
|
-
#### `client.walletTracker.watchlist()`
|
|
373
|
-
|
|
374
|
-
List your tracked wallets and remaining capacity.
|
|
375
|
-
|
|
376
|
-
```ts
|
|
377
|
-
const { wallets, capacity } = await client.walletTracker.watchlist();
|
|
378
|
-
// capacity: { used, limit } — Free: 10, Pro: 50, Ultra: 100
|
|
379
|
-
```
|
|
380
|
-
|
|
381
|
-
Returns: `WatchlistResponse`
|
|
382
|
-
|
|
383
|
-
---
|
|
384
|
-
|
|
385
|
-
#### `client.walletTracker.addToWatchlist(wallet, params?)`
|
|
386
|
-
|
|
387
|
-
Add a wallet to your watchlist. Tracking begins immediately.
|
|
388
|
-
|
|
389
|
-
```ts
|
|
390
|
-
await client.walletTracker.addToWatchlist("7xKX...", { label: "whale" });
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
---
|
|
394
|
-
|
|
395
|
-
#### `client.walletTracker.removeFromWatchlist(wallet)`
|
|
396
|
-
|
|
397
|
-
Remove a wallet from your watchlist.
|
|
398
|
-
|
|
399
|
-
```ts
|
|
400
|
-
await client.walletTracker.removeFromWatchlist("7xKX...");
|
|
401
|
-
```
|
|
402
|
-
|
|
403
|
-
---
|
|
404
|
-
|
|
405
|
-
#### `client.walletTracker.updateLabel(wallet, label)`
|
|
406
|
-
|
|
407
|
-
Update the label for a tracked wallet.
|
|
408
|
-
|
|
409
|
-
```ts
|
|
410
|
-
await client.walletTracker.updateLabel("7xKX...", "smart money");
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
---
|
|
414
|
-
|
|
415
|
-
#### `client.walletTracker.trades(params?)`
|
|
416
|
-
|
|
417
|
-
Historical swap and transfer events for your watched wallets. 120-day retention.
|
|
418
|
-
|
|
419
|
-
```ts
|
|
420
|
-
const { events } = await client.walletTracker.trades({
|
|
421
|
-
wallet: "7xKX...", // filter by specific wallet
|
|
422
|
-
action: "buy", // "buy" | "sell"
|
|
423
|
-
event_type: "swap", // "swap" | "transfer"
|
|
424
|
-
limit: 50,
|
|
425
|
-
before: "2026-04-01T00:00:00Z", // ISO 8601 cursor
|
|
426
|
-
});
|
|
427
|
-
```
|
|
428
|
-
|
|
429
|
-
Returns: `WalletTrackerTradesResponse`
|
|
430
|
-
|
|
431
|
-
---
|
|
432
|
-
|
|
433
|
-
#### `client.walletTracker.summary(params?)`
|
|
434
|
-
|
|
435
|
-
Per-wallet stats across your watchlist: swap counts, SOL bought/sold, last event time.
|
|
436
|
-
|
|
437
|
-
```ts
|
|
438
|
-
const { wallets } = await client.walletTracker.summary({
|
|
439
|
-
period: "7d", // "24h" | "7d" | "30d", default "7d"
|
|
440
|
-
wallet: "7xKX...", // optional: single wallet
|
|
441
|
-
});
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
Returns: `WalletTrackerSummaryResponse`
|
|
445
|
-
|
|
446
|
-
---
|
|
447
|
-
|
|
448
|
-
###
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
```
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
});
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
});
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
{
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
//
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
//
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
});
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
const
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
1
|
+
# madeonsol
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/madeonsol)
|
|
4
|
+
[](https://www.npmjs.com/package/madeonsol)
|
|
5
|
+
[](https://github.com/LamboPoewert/madeonsol-sdk)
|
|
6
|
+
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](package.json)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
|
|
10
|
+
> ⭐ **[Star on GitHub](https://github.com/LamboPoewert/madeonsol-sdk)** if you find this useful · 📂 **[Examples](./examples/)** · 📚 **[API docs](https://madeonsol.com/api-docs)**
|
|
11
|
+
|
|
12
|
+
Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com) Solana API** — zero dependencies, fully typed, works in Node.js ≥ 18 and edge runtimes.
|
|
13
|
+
> Real-time Solana trading intelligence: track 1,000+ KOL wallets with <3s latency, score 6,700+ Pump.fun deployers by reputation, detect multi-KOL coordination signals, and stream every DEX trade across 9+ programs. Free tier: 200 requests/day at [madeonsol.com/pricing](https://madeonsol.com/pricing) — no credit card required.
|
|
14
|
+
|
|
15
|
+
> **New in 2.6.1** *(2026-05-13)* — **Velocity types fixed.** Velocity fields are now correctly typed as `mc_change_pct`, `volume_usd`, `mev_volume_pct` — each its own object keyed by `5m`/`15m`/`1h`/`2h`/`4h` — to match the actual API response. The 2.6.0 shape (`velocity[window].mc_change_pct`) was wrong; clients reading it would get `undefined`. Patch is type-only — no runtime breaking changes.
|
|
16
|
+
>
|
|
17
|
+
> **New in 2.6.0** *(2026-05-12)* — **Token directory + self-inspection.** `client.token.list({ min_liq, min_volume_1h_usd, max_mev_share_pct, mc_change_1h_min_pct, sort, ... })` — browse and filter every active mint, with default `min_liq=2000` to skip phantom-MC dust. `client.me()` — read your tier, daily/burst quota state, and per-feature usage in one call (no header parsing). Velocity / MEV-share fields added to every `TokenResponseBody`: `mc_change_pct`, `volume_usd`, `mev_volume_pct` (each keyed by `5m`/`15m`/`1h`/`2h`/`4h`) plus `history_age_seconds` on the parent. `/token/{mint}` 400s now ship `code`, `reason`, `received_length`, `example`, and `docs` URL — stop guessing why a mint failed. Deprecated `avg_entry_mc_usd` / `entry_mc_samples` removed from leaderboard types. All other 2.5.x APIs unchanged.
|
|
18
|
+
|
|
19
|
+
> **Build Solana trading bots, analytics dashboards, KOL copy-trading tools, deployer sniper bots, and ecosystem browsers.**
|
|
20
|
+
|
|
21
|
+
## Quick start (10 seconds)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install madeonsol
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { MadeOnSol } from "madeonsol";
|
|
29
|
+
const client = new MadeOnSol({ apiKey: "msk_..." }); // free tier at madeonsol.com/pricing
|
|
30
|
+
const { trades } = await client.kol.feed({ limit: 5, action: "buy" });
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
| Feature | Description |
|
|
34
|
+
|---|---|
|
|
35
|
+
| **KOL Tracker** | Real-time trade feed, PnL leaderboard with five time windows (today, 7d, 30d, 90d, 180d), coordination detection, per-wallet profiles, and deep PnL analytics for 1,000+ tracked KOL wallets. **180 days of trade history** retained. |
|
|
36
|
+
| **Alpha Wallet Intel** | Leaderboard of 47,000+ scored early-buyer wallets, full wallet profiles, linked-wallet clustering, token cap-table enrichment, and 0–100 buyer quality scores. |
|
|
37
|
+
| **Wallet Tracker** | Monitor any Solana wallet for swaps and transfers. Track up to 10/50/100 wallets (Free/Pro/Ultra). Full wallets, counterparties, and tx_signatures on every tier. 120-day event retention. WS events on ULTRA. |
|
|
38
|
+
| **Deployer Hunter** | Pump.fun deployer scoring, tier leaderboard, deploy alerts, and bonding intelligence |
|
|
39
|
+
| **DEX Trade Stream** | Real-time WebSocket stream of ALL Solana DEX trades — filter by token, wallet, program, or trade size (Ultra) |
|
|
40
|
+
| **Webhooks** | Push notifications for KOL trades, coordination signals, deployer alerts, and wallet tracker events (Pro/Ultra) |
|
|
41
|
+
| **Tool Directory** | Search 950+ Solana tools and dApps indexed on MadeOnSol |
|
|
42
|
+
|
|
43
|
+
**Links:** [Full docs](https://madeonsol.com/solana-api) · [Website](https://madeonsol.com) · [API docs](https://madeonsol.com/api-docs)
|
|
44
|
+
|
|
45
|
+
## Authentication
|
|
46
|
+
|
|
47
|
+
Get a free API key at [madeonsol.com/pricing](https://madeonsol.com/pricing). Keys start with `msk_`.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Install
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm install madeonsol
|
|
55
|
+
# or
|
|
56
|
+
yarn add madeonsol
|
|
57
|
+
# or
|
|
58
|
+
pnpm add madeonsol
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Requires **Node.js ≥ 18** (uses native `fetch`). Works out of the box in Cloudflare Workers, Vercel Edge, and Bun.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Quick start
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { MadeOnSol } from "madeonsol";
|
|
69
|
+
|
|
70
|
+
const client = new MadeOnSol({ apiKey: "msk_your_api_key_here" });
|
|
71
|
+
|
|
72
|
+
// Latest KOL buy trades
|
|
73
|
+
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });
|
|
74
|
+
console.log(trades[0].kol_name, "bought", trades[0].token_symbol);
|
|
75
|
+
|
|
76
|
+
// Elite deployer leaderboard
|
|
77
|
+
const { deployers } = await client.deployer.leaderboard({ tier: "elite" });
|
|
78
|
+
|
|
79
|
+
// Recent deploy alerts
|
|
80
|
+
const { alerts } = await client.deployer.alerts({ limit: 5 });
|
|
81
|
+
|
|
82
|
+
// Search Solana tools
|
|
83
|
+
const { tools } = await client.tools.search({ q: "trading", limit: 10 });
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Use cases
|
|
89
|
+
|
|
90
|
+
- **Copy-trading bot** — stream KOL buys via `client.kol.feed()` and mirror trades
|
|
91
|
+
- **DEX trade sniping** — subscribe to the all-DEX stream filtered by token or wallet
|
|
92
|
+
- **Deployer sniper** — monitor `client.deployer.alerts()` for elite-tier launches
|
|
93
|
+
- **Coordination detector** — flag tokens with `client.kol.coordination({ min_kols: 3 })`
|
|
94
|
+
- **Scout signal** — track first-KOL-touch events filtered to S/A-tier scouts via `client.kol.firstTouches({ preset: "scout" })`
|
|
95
|
+
- **Analytics dashboard** — combine leaderboard, PnL, and tool data
|
|
96
|
+
- **Telegram/Discord bot** — pipe alerts via webhooks into chat
|
|
97
|
+
- **Portfolio tracker** — use `client.kol.wallet()` to follow specific KOL positions
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## API Reference
|
|
102
|
+
|
|
103
|
+
### KOL Tracker — `client.kol`
|
|
104
|
+
|
|
105
|
+
#### `client.kol.feed(params?)`
|
|
106
|
+
|
|
107
|
+
Live feed of trades made by tracked KOL wallets.
|
|
108
|
+
|
|
109
|
+
```ts
|
|
110
|
+
const { trades, count } = await client.kol.feed({
|
|
111
|
+
limit: 50, // 1–100, default 50
|
|
112
|
+
action: "buy", // "buy" | "sell"
|
|
113
|
+
kol: "7xKX...", // filter by specific wallet
|
|
114
|
+
});
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Returns: `KolFeedResponse` — `{ trades: KolTrade[], count: number }`
|
|
118
|
+
|
|
119
|
+
Each `KolTrade` includes `market_cap_usd_at_trade` and `price_usd_at_trade` — the token's MC and price at the exact moment the swap fired, sourced from our in-memory price tracker (real-time, faster than Dexscreener spot). Use these to surface "KOL bought $X SOL of token at $Y MC" without a second lookup.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
#### `client.kol.leaderboard(params?)`
|
|
124
|
+
|
|
125
|
+
KOL PnL leaderboard ranked by realized profit.
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
const { leaderboard, period } = await client.kol.leaderboard({
|
|
129
|
+
period: "7d", // "today" | "7d" | "30d" | "90d" | "180d", default "7d"
|
|
130
|
+
});
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
> **180-day retention** — KOL trade data is retained for 180 days (extended from 31 on 2026-04-07). The 90d and 180d windows fill up over time as the trade table accumulates.
|
|
134
|
+
|
|
135
|
+
Returns: `KolLeaderboardResponse`
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
#### `client.kol.wallet(wallet, params?)`
|
|
140
|
+
|
|
141
|
+
Full profile for a single KOL wallet, including trade history and optional per-token PnL breakdown.
|
|
142
|
+
|
|
143
|
+
```ts
|
|
144
|
+
const profile = await client.kol.wallet("7xKX...", {
|
|
145
|
+
include: "pnl_by_token",
|
|
146
|
+
});
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Returns: `KolWalletProfile`
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
#### `client.kol.coordination(params?)`
|
|
154
|
+
|
|
155
|
+
Detect tokens where multiple KOLs are buying simultaneously — a strong signal of coordinated pumps. **v1.1** adds peak-density windows, exit tracking, and a composite 0–100 coordination score.
|
|
156
|
+
|
|
157
|
+
```ts
|
|
158
|
+
const { coordination, score_version, window_minutes } = await client.kol.coordination({
|
|
159
|
+
period: "24h", // "1h" | "6h" | "24h" | "7d", default "24h"
|
|
160
|
+
min_kols: 3, // 2–50, default 3
|
|
161
|
+
limit: 20, // 1–50, default 20
|
|
162
|
+
window_minutes: 15, // v1.1 — peak-density window in minutes (1–60)
|
|
163
|
+
min_score: 60, // v1.1 — filter by composite score (0–100)
|
|
164
|
+
include_majors: false, // v1.1 — include WIF/BONK/POPCAT
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
for (const c of coordination) {
|
|
168
|
+
console.log(c.token_symbol, "score", c.coordination_score, "peak", c.peak_kols, "exited", c.exited_count);
|
|
169
|
+
// c.kols[]: { name, wallet, buy_sol, sell_sol, exited }
|
|
170
|
+
}
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Returns: `KolCoordinationResponse` — `{ coordination: CoordinatedToken[], score_version, window_minutes }`
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
#### `client.coordinationAlerts.*` (v1.1)
|
|
178
|
+
|
|
179
|
+
Create **real-time push alerts** that fire the moment a new coordination cluster forms. Alerts are evaluated per-trade by the signal-evaluator service (sub-second latency), delivered via WebSocket channel `kol:coordination` and/or HMAC-signed webhook. **PRO: 5 rules, ULTRA: 20 rules.**
|
|
180
|
+
|
|
181
|
+
```ts
|
|
182
|
+
// Create a rule: ≥5 KOLs, 10-min window, score ≥70, webhook delivery
|
|
183
|
+
const { rule, webhook_secret } = await client.coordinationAlerts.create({
|
|
184
|
+
name: "strong-clusters",
|
|
185
|
+
min_kols: 5,
|
|
186
|
+
window_minutes: 10,
|
|
187
|
+
min_score: 70,
|
|
188
|
+
include_majors: false,
|
|
189
|
+
cooldown_min: 30, // don't re-fire same token within 30 min
|
|
190
|
+
score_jump_break: 15, // UNLESS score jumps by 15+ (catches conviction surges)
|
|
191
|
+
delivery_mode: "webhook", // "websocket" | "webhook" | "both"
|
|
192
|
+
webhook_url: "https://example.com/coord-hook",
|
|
193
|
+
});
|
|
194
|
+
// SAVE webhook_secret — used for HMAC-SHA256 signature verification.
|
|
195
|
+
|
|
196
|
+
await client.coordinationAlerts.list();
|
|
197
|
+
await client.coordinationAlerts.get(rule.id);
|
|
198
|
+
await client.coordinationAlerts.update(rule.id, { min_score: 80, is_active: false });
|
|
199
|
+
await client.coordinationAlerts.delete(rule.id);
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Webhook signatures: header `X-MadeOnSol-Signature` = `sha256(timestamp + "." + body)` with `webhook_secret` as the HMAC key. Reject deliveries older than ~5 min.
|
|
203
|
+
|
|
204
|
+
WebSocket delivery: subscribe to channel `kol:coordination` on `wss://madeonsol.com/ws/v1/stream` — events are user-scoped (you only receive your own rule fires).
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
#### `client.kol.firstTouches(params?)` *(new in 2.2)*
|
|
209
|
+
|
|
210
|
+
Recent first-KOL-touch events on tokens — every time a tracked KOL was the first to buy a given mint. Filterable by **scout tier** (S/A/B/C from the per-KOL `mv_kol_scout_score` view), KOL winrate, token age, mint suffix, etc.
|
|
211
|
+
|
|
212
|
+
**Backtested signal:** top scouts attract ≥3 follow-on KOLs within 4h ~50% of the time vs ~14% baseline (38d / 491k buys / 72,549 events). The full leaderboard is at [madeonsol.com/kol/scouts](https://madeonsol.com/kol/scouts).
|
|
213
|
+
|
|
214
|
+
```ts
|
|
215
|
+
// S-tier scouts on tokens younger than 1h
|
|
216
|
+
const { events } = await client.kol.firstTouches({
|
|
217
|
+
preset: "scout",
|
|
218
|
+
min_scout_tier: "S",
|
|
219
|
+
limit: 20,
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
for (const e of events) {
|
|
223
|
+
console.log(e.first_kol.name, "scouted", e.token_symbol, `(scout_score=${e.first_kol.scout_score}%)`);
|
|
224
|
+
}
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Filter knobs: `since`, `before`, `limit`, `kol`, `min_kol_winrate_7d`, `min_scout_tier`, `min_n_touches`, `strategy`, `token_age_max_min`, `min_first_buy_sol`, `mint_suffix`, `preset` (`"scout"` or `"fresh_launch"`), `include` (e.g. `"followers_4h"`).
|
|
228
|
+
|
|
229
|
+
> **Don't poll — push.** Median lead time before the second KOL is **12 seconds**, so REST polling will lose the swarm. Subscribe to the `kol:first_touches` WebSocket channel (PRO+) or, on Ultra, create an HMAC-signed webhook subscription via `client.firstTouchSubscriptions.create({...})`.
|
|
230
|
+
|
|
231
|
+
Returns: `FirstTouchesResponse`
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
#### `client.firstTouchSubscriptions.*` *(Ultra)*
|
|
236
|
+
|
|
237
|
+
Create push-delivery rules for first-touch events. Up to 10 active subscriptions per Ultra user.
|
|
238
|
+
|
|
239
|
+
```ts
|
|
240
|
+
const { subscription, webhook_secret } = await client.firstTouchSubscriptions.create({
|
|
241
|
+
name: "S-tier scouts on pump tokens",
|
|
242
|
+
filters: { min_scout_tier: "S", mint_suffix: "pump" },
|
|
243
|
+
delivery_mode: "webhook",
|
|
244
|
+
webhook_url: "https://my.bot/hooks/scout",
|
|
245
|
+
});
|
|
246
|
+
// store webhook_secret — shown once
|
|
247
|
+
|
|
248
|
+
await client.firstTouchSubscriptions.list();
|
|
249
|
+
await client.firstTouchSubscriptions.update(subscription.id, { is_active: false });
|
|
250
|
+
await client.firstTouchSubscriptions.delete(subscription.id);
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
Same HMAC scheme as coordination alerts. WebSocket channel: `kol:first_touches`.
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
#### `client.kol.token(mint)`
|
|
258
|
+
|
|
259
|
+
KOL buy/sell activity for a specific token mint.
|
|
260
|
+
|
|
261
|
+
```ts
|
|
262
|
+
const activity = await client.kol.token("EPjFW...");
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Returns: `KolTokenActivity`
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
#### `client.kol.pnl(wallet, params?)`
|
|
270
|
+
|
|
271
|
+
Deep per-wallet PnL breakdown with equity curve, risk metrics, and position history.
|
|
272
|
+
|
|
273
|
+
```ts
|
|
274
|
+
const pnl = await client.kol.pnl("7xKX...", {
|
|
275
|
+
period: "30d", // "7d" | "30d" | "90d" | "180d", default "30d"
|
|
276
|
+
});
|
|
277
|
+
// All tiers: summary + equity curve + closed positions
|
|
278
|
+
// ULTRA: + open positions (tokens bought but not yet sold)
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
Returns: `KolPnlResponse`
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
#### `client.kol.trendingTokens(params?)`
|
|
286
|
+
|
|
287
|
+
Tokens ranked by KOL buy volume across multiple time windows.
|
|
288
|
+
|
|
289
|
+
```ts
|
|
290
|
+
const { tokens } = await client.kol.trendingTokens({
|
|
291
|
+
period: "1h", // "5m" | "15m" | "30m" | "1h" | "4h" | "8h" | "12h", default "1h"
|
|
292
|
+
min_kols: 2, // minimum distinct KOL buyers
|
|
293
|
+
limit: 20, // 1–50, default 20
|
|
294
|
+
});
|
|
295
|
+
// Available on all tiers; ULTRA unlocks full KOL wallet addresses per token
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
Returns: `KolTrendingTokensResponse`
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
### Alpha Wallet Intelligence — `client.alpha`
|
|
303
|
+
|
|
304
|
+
#### `client.alpha.leaderboard(params?)`
|
|
305
|
+
|
|
306
|
+
Leaderboard of 47,000+ scored early-buyer wallets ranked by win rate, PnL, or ROI.
|
|
307
|
+
|
|
308
|
+
```ts
|
|
309
|
+
const { wallets } = await client.alpha.leaderboard({
|
|
310
|
+
period: "30d", // "7d" | "30d" | "90d", default "30d"
|
|
311
|
+
sort: "win_rate", // "win_rate" | "pnl" | "roi"
|
|
312
|
+
min_tokens: 5,
|
|
313
|
+
exclude_bots: true,
|
|
314
|
+
});
|
|
315
|
+
// Up to 100 results on Free/Pro; ULTRA unlocks 500 + bot signals
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
Returns: `AlphaLeaderboardResponse`
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
#### `client.alpha.wallet(wallet)`
|
|
323
|
+
|
|
324
|
+
Full profile for an alpha wallet including per-token history and bot signals. ULTRA only.
|
|
325
|
+
|
|
326
|
+
```ts
|
|
327
|
+
const profile = await client.alpha.wallet("7xKX...");
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Returns: `AlphaWalletResponse`
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
|
|
334
|
+
#### `client.alpha.linked(wallet)`
|
|
335
|
+
|
|
336
|
+
Linked-wallet clustering — wallets that co-bought with this address within 2 seconds. ULTRA only.
|
|
337
|
+
|
|
338
|
+
```ts
|
|
339
|
+
const { linked } = await client.alpha.linked("7xKX...");
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Returns: `AlphaLinkedResponse`
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
#### `client.alpha.capTable(mint)`
|
|
347
|
+
|
|
348
|
+
First buyers for a token enriched with historical win rates, PnL, and KOL identity. PRO/ULTRA.
|
|
349
|
+
|
|
350
|
+
```ts
|
|
351
|
+
const { buyers } = await client.alpha.capTable("EPjFW...");
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
Returns: `AlphaCapTableResponse`
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
#### `client.alpha.buyerQuality(mint)`
|
|
359
|
+
|
|
360
|
+
0–100 cohort quality score based on the profile of a token's first buyers. All tiers. 5-minute cache.
|
|
361
|
+
|
|
362
|
+
```ts
|
|
363
|
+
const { score } = await client.alpha.buyerQuality("EPjFW...");
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
Returns: `AlphaBuyerQualityResponse`
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
### Wallet Tracker — `client.walletTracker`
|
|
371
|
+
|
|
372
|
+
#### `client.walletTracker.watchlist()`
|
|
373
|
+
|
|
374
|
+
List your tracked wallets and remaining capacity.
|
|
375
|
+
|
|
376
|
+
```ts
|
|
377
|
+
const { wallets, capacity } = await client.walletTracker.watchlist();
|
|
378
|
+
// capacity: { used, limit } — Free: 10, Pro: 50, Ultra: 100
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
Returns: `WatchlistResponse`
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
#### `client.walletTracker.addToWatchlist(wallet, params?)`
|
|
386
|
+
|
|
387
|
+
Add a wallet to your watchlist. Tracking begins immediately.
|
|
388
|
+
|
|
389
|
+
```ts
|
|
390
|
+
await client.walletTracker.addToWatchlist("7xKX...", { label: "whale" });
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
#### `client.walletTracker.removeFromWatchlist(wallet)`
|
|
396
|
+
|
|
397
|
+
Remove a wallet from your watchlist.
|
|
398
|
+
|
|
399
|
+
```ts
|
|
400
|
+
await client.walletTracker.removeFromWatchlist("7xKX...");
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
|
|
405
|
+
#### `client.walletTracker.updateLabel(wallet, label)`
|
|
406
|
+
|
|
407
|
+
Update the label for a tracked wallet.
|
|
408
|
+
|
|
409
|
+
```ts
|
|
410
|
+
await client.walletTracker.updateLabel("7xKX...", "smart money");
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
#### `client.walletTracker.trades(params?)`
|
|
416
|
+
|
|
417
|
+
Historical swap and transfer events for your watched wallets. 120-day retention.
|
|
418
|
+
|
|
419
|
+
```ts
|
|
420
|
+
const { events } = await client.walletTracker.trades({
|
|
421
|
+
wallet: "7xKX...", // filter by specific wallet
|
|
422
|
+
action: "buy", // "buy" | "sell"
|
|
423
|
+
event_type: "swap", // "swap" | "transfer"
|
|
424
|
+
limit: 50,
|
|
425
|
+
before: "2026-04-01T00:00:00Z", // ISO 8601 cursor
|
|
426
|
+
});
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
Returns: `WalletTrackerTradesResponse`
|
|
430
|
+
|
|
431
|
+
---
|
|
432
|
+
|
|
433
|
+
#### `client.walletTracker.summary(params?)`
|
|
434
|
+
|
|
435
|
+
Per-wallet stats across your watchlist: swap counts, SOL bought/sold, last event time.
|
|
436
|
+
|
|
437
|
+
```ts
|
|
438
|
+
const { wallets } = await client.walletTracker.summary({
|
|
439
|
+
period: "7d", // "24h" | "7d" | "30d", default "7d"
|
|
440
|
+
wallet: "7xKX...", // optional: single wallet
|
|
441
|
+
});
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
Returns: `WalletTrackerSummaryResponse`
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
### Universal Wallet — `client.wallet` *(new in 2.7)*
|
|
449
|
+
|
|
450
|
+
Per-wallet endpoints that work on **any** Solana wallet, not just curated KOLs. FIFO cost-basis PnL over the last 90 days. PRO+ on every method. Results are cached server-side in `wallet_analyses` with dynamic TTL (5min / 1h / 24h based on last activity); cache hits don't count against your daily quota.
|
|
451
|
+
|
|
452
|
+
**Cost-basis honesty:** observable only inside the 90-day data window. Wallets that sold tokens bought before that window have the overflow silently discarded rather than fabricated. `notes.cost_basis_observable_from` makes the cutoff visible per call.
|
|
453
|
+
|
|
454
|
+
#### `client.wallet.stats(address)`
|
|
455
|
+
|
|
456
|
+
Aggregate stats over 90d plus cross-product flags (KOL / alpha / deployer).
|
|
457
|
+
|
|
458
|
+
```ts
|
|
459
|
+
const { stats, flags } = await client.wallet.stats("ASVz...ybJk");
|
|
460
|
+
console.log(`${flags.kol_name ?? address}: ${stats?.total_trades} trades across ${stats?.unique_tokens} tokens`);
|
|
461
|
+
if (flags.is_alpha_tracked && flags.alpha_win_rate != null) {
|
|
462
|
+
console.log(`Alpha win rate: ${(flags.alpha_win_rate * 100).toFixed(0)}%`);
|
|
463
|
+
}
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
Returns: `WalletStatsResponse` (404 if the wallet has no trades and no flag-table presence).
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
#### `client.wallet.pnl(address)`
|
|
471
|
+
|
|
472
|
+
Full FIFO cost-basis PnL: realized + unrealized SOL, profit factor, max drawdown, avg + median hold minutes, daily UTC PnL curve, closed positions sorted by pnl desc (with ROI %, hold time, win/loss), and open positions hydrated with live current prices from the market-cap tracker.
|
|
473
|
+
|
|
474
|
+
```ts
|
|
475
|
+
const pnl = await client.wallet.pnl("ASVz...ybJk");
|
|
476
|
+
console.log(`Realized: ${pnl.summary.realized_sol} SOL · Unrealized: ${pnl.summary.unrealized_sol} SOL`);
|
|
477
|
+
console.log(`Win rate: ${(pnl.summary.win_rate! * 100).toFixed(1)}% · PF: ${pnl.summary.profit_factor}`);
|
|
478
|
+
for (const c of pnl.closed_positions.slice(0, 5)) {
|
|
479
|
+
const sign = c.pnl_sol > 0 ? "+" : "";
|
|
480
|
+
console.log(` ${c.token_mint.slice(0,8)}… ${sign}${c.pnl_sol} SOL (${c.roi_pct}% ROI, ${c.hold_minutes}m hold)`);
|
|
481
|
+
}
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
Returns: `WalletPnlResponse`. Cache hits include `cache_hit: true` + `computed_at`; misses include `ttl_seconds`.
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
#### `client.wallet.positions(address)`
|
|
489
|
+
|
|
490
|
+
Open positions only — lighter slice of `pnl()`. Shares the same cache, so calling this right after `pnl()` is an immediate hit.
|
|
491
|
+
|
|
492
|
+
```ts
|
|
493
|
+
const { positions } = await client.wallet.positions("ASVz...ybJk");
|
|
494
|
+
for (const p of positions) {
|
|
495
|
+
const u = p.unrealized_sol;
|
|
496
|
+
console.log(` ${p.token_mint.slice(0,8)}… cost ${p.cost_basis_sol} SOL unrealized ${u ?? "—"} SOL (${p.unrealized_pct ?? "—"}%)`);
|
|
497
|
+
}
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
Returns: `WalletPositionsResponse`. Mints without a current price return `unrealized_sol: null` rather than fabricated zero.
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
#### `client.wallet.trades(address, params?)`
|
|
505
|
+
|
|
506
|
+
Cursor-paginated raw trades. Default window is the last 90 days; override via `since` / `until` (Unix epoch seconds). Default limit 100, max 500.
|
|
507
|
+
|
|
508
|
+
```ts
|
|
509
|
+
let cursor: string | undefined;
|
|
510
|
+
while (true) {
|
|
511
|
+
const page = await client.wallet.trades("ASVz...ybJk", { limit: 200, cursor, action: "buy" });
|
|
512
|
+
for (const t of page.trades) processBuy(t);
|
|
513
|
+
if (!page.has_more) break;
|
|
514
|
+
cursor = page.next_cursor!;
|
|
515
|
+
}
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
Params:
|
|
519
|
+
- `limit` — 1-500, default 100
|
|
520
|
+
- `cursor` — from `next_cursor` of previous response
|
|
521
|
+
- `action` — `"buy"` or `"sell"`
|
|
522
|
+
- `token_mint` — filter to one token
|
|
523
|
+
- `since` / `until` — Unix epoch seconds (default last 90d)
|
|
524
|
+
|
|
525
|
+
Returns: `WalletTradesResponse` with `trades[]` + `next_cursor` + `has_more` + `filters` echo.
|
|
526
|
+
|
|
527
|
+
---
|
|
528
|
+
|
|
529
|
+
### Deployer Hunter — `client.deployer`
|
|
530
|
+
|
|
531
|
+
#### `client.deployer.stats()`
|
|
532
|
+
|
|
533
|
+
Global statistics across all tracked deployer wallets.
|
|
534
|
+
|
|
535
|
+
```ts
|
|
536
|
+
const stats = await client.deployer.stats();
|
|
537
|
+
console.log(stats.overall_bonding_rate); // e.g. 0.043
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
Returns: `DeployerStats`
|
|
541
|
+
|
|
542
|
+
---
|
|
543
|
+
|
|
544
|
+
#### `client.deployer.leaderboard(params?)`
|
|
545
|
+
|
|
546
|
+
Deployers ranked by bonding rate or recent performance.
|
|
547
|
+
|
|
548
|
+
```ts
|
|
549
|
+
const { deployers } = await client.deployer.leaderboard({
|
|
550
|
+
tier: "elite", // "elite" | "good" | "moderate" | "rising" | "cold"
|
|
551
|
+
sort: "bonding_rate", // "bonding_rate" | "recent_bond_rate" | "total_bonded" | "last_deploy_at"
|
|
552
|
+
limit: 20, // 1–50, default 20
|
|
553
|
+
offset: 0,
|
|
554
|
+
});
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
Returns: `DeployerLeaderboardResponse`
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
#### `client.deployer.profile(wallet)`
|
|
562
|
+
|
|
563
|
+
Full profile for a single deployer wallet.
|
|
564
|
+
|
|
565
|
+
```ts
|
|
566
|
+
const deployer = await client.deployer.profile("3xAB...");
|
|
567
|
+
console.log(deployer.tier, deployer.bonding_rate);
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
Returns: `DeployerProfile`
|
|
571
|
+
|
|
572
|
+
---
|
|
573
|
+
|
|
574
|
+
#### `client.deployer.tokens(wallet, params?)`
|
|
575
|
+
|
|
576
|
+
All tokens deployed by a specific wallet.
|
|
577
|
+
|
|
578
|
+
```ts
|
|
579
|
+
const { tokens } = await client.deployer.tokens("3xAB...", {
|
|
580
|
+
limit: 20,
|
|
581
|
+
offset: 0,
|
|
582
|
+
});
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
Returns: `DeployerTokensResponse`
|
|
586
|
+
|
|
587
|
+
---
|
|
588
|
+
|
|
589
|
+
#### `client.deployer.alerts(params?)`
|
|
590
|
+
|
|
591
|
+
Real-time deploy alerts — fired when a tracked deployer launches a new token.
|
|
592
|
+
|
|
593
|
+
```ts
|
|
594
|
+
const { alerts } = await client.deployer.alerts({
|
|
595
|
+
since: "2025-01-01T00:00:00Z", // ISO 8601
|
|
596
|
+
limit: 20,
|
|
597
|
+
tier: "elite", // "elite" | "good" | "moderate" | "rising" | "cold"
|
|
598
|
+
offset: 0,
|
|
599
|
+
});
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
Returns: `DeployerAlertsResponse`
|
|
603
|
+
|
|
604
|
+
---
|
|
605
|
+
|
|
606
|
+
#### `client.deployer.alertStats(params?)`
|
|
607
|
+
|
|
608
|
+
Aggregated alert statistics by tier.
|
|
609
|
+
|
|
610
|
+
```ts
|
|
611
|
+
const stats = await client.deployer.alertStats({ period: "7d" });
|
|
612
|
+
// "7d" | "30d" | "all", default "all"
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
Returns: `DeployerAlertStats`
|
|
616
|
+
|
|
617
|
+
---
|
|
618
|
+
|
|
619
|
+
#### `client.deployer.bestTokens(params?)`
|
|
620
|
+
|
|
621
|
+
Top-performing tokens from tracked deployers by peak market cap.
|
|
622
|
+
|
|
623
|
+
```ts
|
|
624
|
+
const { tokens } = await client.deployer.bestTokens({
|
|
625
|
+
period: "7d", // "7d" | "30d" | "all", default "7d"
|
|
626
|
+
limit: 5, // 1–20, default 5
|
|
627
|
+
});
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
Returns: `BestTokensResponse`
|
|
631
|
+
|
|
632
|
+
---
|
|
633
|
+
|
|
634
|
+
#### `client.deployer.recentBonds(params?)`
|
|
635
|
+
|
|
636
|
+
Most recently bonded tokens from tracked deployers.
|
|
637
|
+
|
|
638
|
+
```ts
|
|
639
|
+
const { bonds } = await client.deployer.recentBonds({ limit: 20 });
|
|
640
|
+
```
|
|
641
|
+
|
|
642
|
+
Returns: `RecentBondsResponse`
|
|
643
|
+
|
|
644
|
+
---
|
|
645
|
+
|
|
646
|
+
### Token Intelligence — `client.token`
|
|
647
|
+
|
|
648
|
+
Per-mint snapshots (price, MC, volume, deployer rep, KOL activity, blacklist flags, **v1.7 velocity windows + MEV-share**) and a filtered directory.
|
|
649
|
+
|
|
650
|
+
#### `client.token.get(mint)`
|
|
651
|
+
|
|
652
|
+
Comprehensive per-mint snapshot in one call. **ULTRA** also returns individual KOL wallet addresses in `top_buyers[]`.
|
|
653
|
+
|
|
654
|
+
```ts
|
|
655
|
+
const { token } = await client.token.get("So11111111111111111111111111111111111111112");
|
|
656
|
+
console.log(token.price_usd, token.market_cap);
|
|
657
|
+
console.log(token.mc_change_pct?.["1h"]); // v1.7
|
|
658
|
+
console.log(token.mev_volume_pct?.["1h"]); // v1.7
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
Invalid mints return a 400 with `code: "invalid_mint"`, `reason`, `received_length`, `example`, and `docs` URL — no trial and error.
|
|
662
|
+
|
|
663
|
+
Returns: `TokenResponse` (with `mc_change_pct` / `volume_usd` / `mev_volume_pct` (each keyed by 5m/15m/1h/2h/4h) + `history_age_seconds` as of 1.7)
|
|
664
|
+
|
|
665
|
+
#### `client.token.batch(mints)`
|
|
666
|
+
|
|
667
|
+
Batch lookup up to 50 mints in one round-trip. ~10–20× cheaper than N sequential calls.
|
|
668
|
+
|
|
669
|
+
```ts
|
|
670
|
+
const { tokens } = await client.token.batch(["mint1", "mint2", "mint3"]);
|
|
671
|
+
```
|
|
672
|
+
|
|
673
|
+
Returns: `TokenBatchResponse`
|
|
674
|
+
|
|
675
|
+
#### `client.token.list(params?)` *(new in 2.6 — PRO+)*
|
|
676
|
+
|
|
677
|
+
Filtered, sortable token directory. Default `min_liq=2000` trims the long tail of phantom-MC tokens from low-liquidity pools; pass `min_liq=0` to opt out.
|
|
678
|
+
|
|
679
|
+
**Server-side filters** (cheap, indexed): `min_mc`, `max_mc`, `min_liq`, `active_h`, `primary_dex` (`pumpfun`/`pumpswap`/`raydium`/`meteora`/`orca`/`raydium_clmm`), `authority_revoked`, `exclude_token2022`, `min_lp_burnt_pct`.
|
|
680
|
+
|
|
681
|
+
**Computed post-filters** (over-fetches 3×): `min_volume_1h_usd`, `max_mev_share_pct`, `mc_change_1h_min_pct`, `mc_change_1h_max_pct`. When any of these are set, `pagination.post_filtered` is `true` and page size may be smaller than `limit`.
|
|
682
|
+
|
|
683
|
+
```ts
|
|
684
|
+
// Momentum scanner: liquid mints up >20% in 1h, low bot share
|
|
685
|
+
const { tokens, pagination } = await client.token.list({
|
|
686
|
+
min_liq: 10000,
|
|
687
|
+
min_volume_1h_usd: 5000,
|
|
688
|
+
max_mev_share_pct: 60,
|
|
689
|
+
mc_change_1h_min_pct: 20,
|
|
690
|
+
sort: "mc_desc",
|
|
691
|
+
limit: 50,
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
// Cleanest filter for a sane "top by MC" feed
|
|
695
|
+
const { tokens } = await client.token.list({
|
|
696
|
+
min_liq: 25000,
|
|
697
|
+
active_h: 1,
|
|
698
|
+
authority_revoked: true,
|
|
699
|
+
sort: "mc_desc",
|
|
700
|
+
});
|
|
701
|
+
```
|
|
702
|
+
|
|
703
|
+
Returns: `TokenListResponse` (with `tokens[]`, `pagination`, `filters` echo)
|
|
704
|
+
|
|
705
|
+
#### `client.token.batchBuyerQuality(mints)`
|
|
706
|
+
|
|
707
|
+
Batch buyer-quality scoring for up to 50 mints. Shares the same 5-minute LRU cache as `client.alpha.buyerQuality(mint)`.
|
|
708
|
+
|
|
709
|
+
Returns: `AlphaBuyerQualityBatchResponse`
|
|
710
|
+
|
|
711
|
+
---
|
|
712
|
+
|
|
713
|
+
### Account — `client.me()` *(new in 2.6)*
|
|
714
|
+
|
|
715
|
+
Inspect your tier, quota state, and feature usage in one call. Reads from the same in-memory counters that drive rate-limit enforcement, so `quota.daily.remaining` is authoritative — no header parsing needed. Works on every tier (BASIC/PRO/ULTRA).
|
|
716
|
+
|
|
717
|
+
```ts
|
|
718
|
+
const me = await client.me();
|
|
719
|
+
console.log(`${me.tier}: ${me.quota.daily.remaining}/${me.quota.daily.limit} req left today`);
|
|
720
|
+
console.log(`Webhooks: ${me.features.webhooks.used}/${me.features.webhooks.limit}`);
|
|
721
|
+
console.log(`Copy-trade wallets: ${me.features.copytrade_wallets.used}/${me.features.copytrade_wallets.limit}`);
|
|
722
|
+
|
|
723
|
+
if (me.quota.daily.remaining < 100) {
|
|
724
|
+
// self-throttle
|
|
725
|
+
}
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
Returns: `MeResponse`
|
|
729
|
+
|
|
730
|
+
---
|
|
731
|
+
|
|
732
|
+
### Tool Directory — `client.tools`
|
|
733
|
+
|
|
734
|
+
#### `client.tools.search(params?)`
|
|
735
|
+
|
|
736
|
+
Search 950+ Solana tools indexed on MadeOnSol.
|
|
737
|
+
|
|
738
|
+
```ts
|
|
739
|
+
const { tools, count } = await client.tools.search({
|
|
740
|
+
q: "trading bot", // full-text search
|
|
741
|
+
category: "trading", // category slug filter
|
|
742
|
+
limit: 20, // 1–50, default 20
|
|
743
|
+
});
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
Returns: `ToolsSearchResponse`
|
|
747
|
+
|
|
748
|
+
---
|
|
749
|
+
|
|
750
|
+
### WebSocket Streaming — `client.stream`
|
|
751
|
+
|
|
752
|
+
#### `client.stream.getToken()`
|
|
753
|
+
|
|
754
|
+
Generate a 24-hour WebSocket streaming token. Pro/Ultra subscribers get `ws_url` for KOL/deployer event streaming. Ultra subscribers also get `dex_ws_url` for the all-DEX trade stream.
|
|
755
|
+
|
|
756
|
+
```ts
|
|
757
|
+
const token = await client.stream.getToken();
|
|
758
|
+
console.log(token.ws_url); // wss://madeonsol.com/ws/v1/stream
|
|
759
|
+
console.log(token.dex_ws_url); // wss://madeonsol.com/ws/v1/dex-stream (Ultra only)
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
Returns: `StreamToken` — `{ token, expires_at, ws_url, dex_ws_url?, usage }`
|
|
763
|
+
|
|
764
|
+
---
|
|
765
|
+
|
|
766
|
+
### DEX Firehose (Ultra) — `wss://madeonsol.com/ws/v1/dex-stream`
|
|
767
|
+
|
|
768
|
+
Real-time trades across **9+ Solana DEX programs** (Pump.fun, PumpAMM, PumpSwap, Raydium AMM/CPMM/CAMM, Jupiter v6, Orca Whirlpool, Meteora DBC/DAMM, LaunchLab/bonk.fun) on a single normalized WebSocket. Server-side filters drop everything you don't care about before it hits your socket.
|
|
769
|
+
|
|
770
|
+
**Limits:** ULTRA = 2 connections, **10 named subscriptions per connection**, up to **500 trades replay** from in-memory ring buffer. Inbound rate limit: 5 messages/sec (excess emits one error per second).
|
|
771
|
+
|
|
772
|
+
#### Quick start
|
|
773
|
+
|
|
774
|
+
```ts
|
|
775
|
+
import { WebSocket } from "ws"; // or native WebSocket in browsers/Bun
|
|
776
|
+
|
|
777
|
+
const { token, dex_ws_url } = await client.stream.getToken();
|
|
778
|
+
const ws = new WebSocket(`${dex_ws_url}?token=${token}`); // token MUST be appended as query param
|
|
779
|
+
|
|
780
|
+
ws.on("open", () => {
|
|
781
|
+
// Multi-subscription: each sub has its own sub_id and filters
|
|
782
|
+
ws.send(JSON.stringify({
|
|
783
|
+
type: "subscribe",
|
|
784
|
+
sub_id: "fresh-pumpfun",
|
|
785
|
+
replay: 50, // backfill up to 500 from ring buffer
|
|
786
|
+
filters: {
|
|
787
|
+
dex: "pumpfun",
|
|
788
|
+
token_age_max_seconds: 300, // first seen in last 5 min
|
|
789
|
+
min_sol: 0.5,
|
|
790
|
+
action: "buy",
|
|
791
|
+
},
|
|
792
|
+
}));
|
|
793
|
+
});
|
|
794
|
+
|
|
795
|
+
ws.on("message", (raw) => {
|
|
796
|
+
const msg = JSON.parse(raw.toString());
|
|
797
|
+
if (msg.channel === "dex:trades") {
|
|
798
|
+
// { sub_id, data: { wallet, mint, action, sol_amount, token_amount, dex, ... }, replay, ts }
|
|
799
|
+
console.log(msg.sub_id, msg.data.dex, msg.data.action, msg.data.sol_amount);
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
```
|
|
803
|
+
|
|
804
|
+
#### Protocol — client → server
|
|
805
|
+
|
|
806
|
+
| `type` | Required fields | Notes |
|
|
807
|
+
|---|---|---|
|
|
808
|
+
| `subscribe` | `sub_id`, `filters` | Optional `replay: 1–500` |
|
|
809
|
+
| `update` | `sub_id`, `filters` | Replaces filters in place — no disconnect needed |
|
|
810
|
+
| `unsubscribe` | `sub_id` | Or omit `sub_id` to clear all subs |
|
|
811
|
+
| `list` | — | Server replies with `{ type: "list", subs: [...] }` |
|
|
812
|
+
| `ping` | — | Heartbeat — server replies `{ type: "pong" }` |
|
|
813
|
+
|
|
814
|
+
#### Server → client message shapes
|
|
815
|
+
|
|
816
|
+
```ts
|
|
817
|
+
{ type: "connected", tier: "ULTRA", capabilities: { max_subs: 10, max_replay: 500, dex_names: [...], deployer_tiers: [...] } } // on connect
|
|
818
|
+
{ type: "subscribed", sub_id: "fresh-pumpfun", filters: { ... } }
|
|
819
|
+
{ type: "replay_done", sub_id: "fresh-pumpfun", count: 50 } // after backfill
|
|
820
|
+
{ type: "updated", sub_id: "fresh-pumpfun", filters: { ... } }
|
|
821
|
+
{ type: "unsubscribed", sub_id: "fresh-pumpfun" }
|
|
822
|
+
{ type: "list", subs: [{ sub_id, filters }] } // reply to { type: "list" }
|
|
823
|
+
{ type: "heartbeat", ts: 1712160000000 } // every 30s
|
|
824
|
+
{ type: "error", sub_id?, message: "..." }
|
|
825
|
+
{ channel: "dex:trades", sub_id, data: { ... }, replay: false, ts: 1712160000000 }
|
|
826
|
+
```
|
|
827
|
+
|
|
828
|
+
#### Filter dimensions
|
|
829
|
+
|
|
830
|
+
At least **one targeting filter** is required (otherwise the firehose would dump every trade). Filters compose with AND semantics.
|
|
831
|
+
|
|
832
|
+
| Filter | Type | Notes |
|
|
833
|
+
|---|---|---|
|
|
834
|
+
| `token_mint` / `token_mints` | string / string[] (≤50) | Targeting |
|
|
835
|
+
| `wallet` / `wallets` | string / string[] (≤50) | Targeting |
|
|
836
|
+
| `dex` | string \| string[] | `pumpfun`, `pumpamm`, `pumpswap`, `raydium`, `jupiter`, `orca`, `meteora`, `launchlab` |
|
|
837
|
+
| `program` | string | Raw program ID |
|
|
838
|
+
| `deployer_tier` | string \| string[] | `elite`, `good`, `moderate`, `rising`, `cold`, `unranked` (uses Deployer Hunter scoring) |
|
|
839
|
+
| `token_age_max_seconds` | number | Only trades on mints first seen within window (uses persisted first-seen table) |
|
|
840
|
+
| `market_cap_min_sol` / `market_cap_max_sol` | number | Bounded by current market cap (last trade price × cached supply, 1h TTL) |
|
|
841
|
+
| `min_sol` / `max_sol` | number | Trade size bounds |
|
|
842
|
+
| `action` | `"buy"` \| `"sell"` | Direction |
|
|
843
|
+
|
|
844
|
+
**Async filters** (`token_age`, `deployer_tier`, `market_cap`) evaluate against live state and are **skipped on replay**. The first trade for an unseen mint may be skipped while the supply fetch is in flight.
|
|
845
|
+
|
|
846
|
+
#### Multi-sub example
|
|
847
|
+
|
|
848
|
+
```ts
|
|
849
|
+
ws.send(JSON.stringify({ type: "subscribe", sub_id: "snipers", filters: { token_age_max_seconds: 60 } }));
|
|
850
|
+
ws.send(JSON.stringify({ type: "subscribe", sub_id: "whales", filters: { min_sol: 50 } }));
|
|
851
|
+
ws.send(JSON.stringify({ type: "subscribe", sub_id: "kol-mints", filters: { token_mints: ["EPjF...", "So11..."] } }));
|
|
852
|
+
|
|
853
|
+
// Tighten the snipers filter without disconnecting
|
|
854
|
+
ws.send(JSON.stringify({ type: "update", sub_id: "snipers", filters: { token_age_max_seconds: 30, min_sol: 0.3 } }));
|
|
855
|
+
|
|
856
|
+
// Drop whales when you're done
|
|
857
|
+
ws.send(JSON.stringify({ type: "unsubscribe", sub_id: "whales" }));
|
|
858
|
+
```
|
|
859
|
+
|
|
860
|
+
Each `dex:trades` message echoes the `sub_id` that matched, so you can route them locally without reapplying filter logic client-side.
|
|
861
|
+
|
|
862
|
+
---
|
|
863
|
+
|
|
864
|
+
### Webhooks — `client.webhooks`
|
|
865
|
+
|
|
866
|
+
Manage push notification webhooks for real-time events (Pro: 3, Ultra: 10).
|
|
867
|
+
|
|
868
|
+
```ts
|
|
869
|
+
// Create a webhook
|
|
870
|
+
const webhook = await client.webhooks.create({
|
|
871
|
+
url: "https://example.com/hook",
|
|
872
|
+
events: ["kol:trade", "deployer:alert"],
|
|
873
|
+
filters: { min_sol: 1 },
|
|
874
|
+
});
|
|
875
|
+
|
|
876
|
+
// List, update, delete
|
|
877
|
+
const { webhooks } = await client.webhooks.list();
|
|
878
|
+
await client.webhooks.update(webhook.id, { status: "paused" });
|
|
879
|
+
await client.webhooks.delete(webhook.id);
|
|
880
|
+
await client.webhooks.test(webhook.id);
|
|
881
|
+
```
|
|
882
|
+
|
|
883
|
+
---
|
|
884
|
+
|
|
885
|
+
## Error handling
|
|
886
|
+
|
|
887
|
+
All methods throw `MadeOnSolError` on non-2xx responses.
|
|
888
|
+
|
|
889
|
+
```ts
|
|
890
|
+
import { MadeOnSol, MadeOnSolError } from "madeonsol";
|
|
891
|
+
|
|
892
|
+
try {
|
|
893
|
+
const profile = await client.kol.wallet("invalid-wallet");
|
|
894
|
+
} catch (err) {
|
|
895
|
+
if (err instanceof MadeOnSolError) {
|
|
896
|
+
console.error(err.message); // human-readable message
|
|
897
|
+
console.error(err.status); // HTTP status code, e.g. 404
|
|
898
|
+
console.error(err.body); // raw response body
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
```
|
|
902
|
+
|
|
903
|
+
---
|
|
904
|
+
|
|
905
|
+
## Exported types
|
|
906
|
+
|
|
907
|
+
All types are exported from the main entry point:
|
|
908
|
+
|
|
909
|
+
```ts
|
|
910
|
+
import type {
|
|
911
|
+
// Errors
|
|
912
|
+
MadeOnSolError,
|
|
913
|
+
|
|
914
|
+
// KOL
|
|
915
|
+
KolTrade,
|
|
916
|
+
KolFeedParams,
|
|
917
|
+
KolFeedResponse,
|
|
918
|
+
KolLeaderboardParams,
|
|
919
|
+
KolLeaderboardResponse,
|
|
920
|
+
KolLeaderboardEntry,
|
|
921
|
+
KolWalletParams,
|
|
922
|
+
KolWalletProfile,
|
|
923
|
+
KolCoordinationParams,
|
|
924
|
+
KolCoordinationResponse,
|
|
925
|
+
CoordinatedToken,
|
|
926
|
+
KolTokenActivity,
|
|
927
|
+
KolPnlByToken,
|
|
928
|
+
|
|
929
|
+
// Deployer
|
|
930
|
+
DeployerStats,
|
|
931
|
+
DeployerLeaderboardParams,
|
|
932
|
+
DeployerLeaderboardResponse,
|
|
933
|
+
DeployerLeaderboardEntry,
|
|
934
|
+
DeployerProfile,
|
|
935
|
+
DeployerToken,
|
|
936
|
+
DeployerTokensParams,
|
|
937
|
+
DeployerTokensResponse,
|
|
938
|
+
DeployerAlertsParams,
|
|
939
|
+
DeployerAlertsResponse,
|
|
940
|
+
DeployerAlert,
|
|
941
|
+
DeployerAlertStatsParams,
|
|
942
|
+
DeployerAlertStats,
|
|
943
|
+
BestTokensParams,
|
|
944
|
+
BestTokensResponse,
|
|
945
|
+
BestToken,
|
|
946
|
+
RecentBondsParams,
|
|
947
|
+
RecentBondsResponse,
|
|
948
|
+
RecentBond,
|
|
949
|
+
|
|
950
|
+
// Tools
|
|
951
|
+
ToolsSearchParams,
|
|
952
|
+
ToolsSearchResponse,
|
|
953
|
+
Tool,
|
|
954
|
+
|
|
955
|
+
// KOL PnL & Trending
|
|
956
|
+
KolPnlResponse,
|
|
957
|
+
KolTrendingTokensResponse,
|
|
958
|
+
TrendingToken,
|
|
959
|
+
|
|
960
|
+
// Alpha Wallet Intelligence
|
|
961
|
+
AlphaWalletEntry,
|
|
962
|
+
AlphaLeaderboardResponse,
|
|
963
|
+
AlphaWalletResponse,
|
|
964
|
+
AlphaLinkedResponse,
|
|
965
|
+
AlphaCapTableResponse,
|
|
966
|
+
AlphaBuyerQualityResponse,
|
|
967
|
+
|
|
968
|
+
// Wallet Tracker
|
|
969
|
+
WalletEntry,
|
|
970
|
+
WatchlistResponse,
|
|
971
|
+
WalletTrackerEvent,
|
|
972
|
+
WalletTrackerTradesResponse,
|
|
973
|
+
WalletTrackerSummaryResponse,
|
|
974
|
+
|
|
975
|
+
// Streaming
|
|
976
|
+
StreamToken,
|
|
977
|
+
|
|
978
|
+
// Webhooks
|
|
979
|
+
Webhook,
|
|
980
|
+
WebhookCreateParams,
|
|
981
|
+
WebhookUpdateParams,
|
|
982
|
+
WebhookListResponse,
|
|
983
|
+
|
|
984
|
+
// Enums / unions
|
|
985
|
+
KolAction,
|
|
986
|
+
LeaderboardPeriod,
|
|
987
|
+
CoordinationPeriod,
|
|
988
|
+
DeployerTier,
|
|
989
|
+
DeployerSortField,
|
|
990
|
+
AlertPeriod,
|
|
991
|
+
BestTokensPeriod,
|
|
992
|
+
} from "madeonsol";
|
|
993
|
+
```
|
|
994
|
+
|
|
995
|
+
---
|
|
996
|
+
|
|
997
|
+
## Related
|
|
998
|
+
|
|
999
|
+
- [MadeOnSol website](https://madeonsol.com) — Browse 950+ Solana tools
|
|
1000
|
+
- [API documentation](https://madeonsol.com/api-docs) — Interactive endpoint reference
|
|
1001
|
+
- [MadeOnSol on GitHub](https://github.com/LamboPoewert/madeonsol) — Main project repository
|
|
1002
|
+
|
|
1003
|
+
## Also Available
|
|
1004
|
+
|
|
1005
|
+
| Platform | Package |
|
|
1006
|
+
|---|---|
|
|
1007
|
+
| Rust | [`madeonsol`](https://crates.io/crates/madeonsol) on crates.io |
|
|
1008
|
+
| Python (LangChain, CrewAI) | [`madeonsol-x402`](https://pypi.org/project/madeonsol-x402/) on PyPI |
|
|
1009
|
+
| MCP Server (Claude, Cursor) | [`mcp-server-madeonsol`](https://www.npmjs.com/package/mcp-server-madeonsol) · [Smithery](https://smithery.ai/servers/madeonsol/solana-kol-intelligence) · [Glama](https://glama.ai/mcp/servers/LamboPoewert/mcp-server-madeonsol) |
|
|
1010
|
+
| ElizaOS | [`@madeonsol/plugin-madeonsol`](https://www.npmjs.com/package/@madeonsol/plugin-madeonsol) |
|
|
1011
|
+
| Solana Agent Kit | [`solana-agent-kit-plugin-madeonsol`](https://www.npmjs.com/package/solana-agent-kit-plugin-madeonsol) |
|
|
1012
|
+
|
|
1013
|
+
---
|
|
1014
|
+
|
|
1015
|
+
## License
|
|
1016
|
+
|
|
1017
|
+
MIT © [MadeOnSol](https://madeonsol.com)
|