madeonsol 4.4.0 → 4.6.0

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 MadeOnSol
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 MadeOnSol
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -10,10 +10,14 @@
10
10
  > ⭐ **[Star on GitHub](https://github.com/madeonsol/madeonsol-sdk)** if you find this useful · 📂 **[Examples](./examples/)** · 📚 **[API docs](https://madeonsol.com/api-docs)**
11
11
 
12
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,069 KOL wallets with <3s latency on paid keys and x402 pay-per-call (free-tier live feeds are 5-min delayed), score 23,000+ Pump.fun deployers, surface early deploy observations with separate execution evidence, detect multi-KOL coordination, score token rug-risk 0–100 with a transparent factor breakdown, expose the bundle cohort that bought a token together and how much of supply it still holds, verify any wallet's current on-chain holdings with airdrop/insider `transfer_delta` detection, push every pump.fun graduation the second it bonds, and stream every DEX trade across 9+ programs. Free tier: 200 requests/day across 40+ endpoints (live feeds 5-min delayed) — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
13
+ > Real-time Solana trading intelligence: track 1,100+ active KOL wallets with <3s latency on paid keys and x402 pay-per-call (free-tier live feeds are 5-min delayed), score 100K+ reputation-profiled Pump.fun deployers, surface early deploy observations with separate execution evidence, detect multi-KOL coordination, score token rug-risk 0–100 with a transparent factor breakdown, expose the bundle cohort that bought a token together and how much of supply it still holds, verify any wallet's current on-chain holdings with airdrop/insider `transfer_delta` detection, push every pump.fun graduation the second it bonds, and stream every DEX trade across 9+ programs. Free tier: 200 requests/day across 40+ endpoints (live feeds 5-min delayed) — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
14
14
 
15
15
  > **Migrating to 4.0.0.** Runtime API behaviour is not intentionally changing: the server sends exactly what it sent before. The breaking change is the corrected public **type contract**. Several 3.x response types described field names and shapes the API never returned, so code that compiled against them read `undefined` at runtime. Rewritten or renamed types: `KolWalletProfile` (`kol` / `stats` / `scores` / `peer_ranks` / `recent_trades` / `pnl_by_token`), `KolTokenActivity` (`token_mint` / `summary` / `kols[]`), alpha linked wallets (`linked`, was `linked_wallets`), `DeployerTokenRow` (`token_mint`, was `mint`), wallet-tracker trade events (`slot`, `ingested_at`, `ordered_by`, `next_cursor_slot`; keys the API never sent are now optional and `@deprecated`), `DeployerProfileResponse` (from 3.0.0). Several previously required fields are now optional because the API omits or nulls them. Update the field names your code reads; no request-side change is needed.
16
16
 
17
+ > **New in 4.6.0 (2026-12-06, contract sync).** New methods: `client.signalInbox({ products, cursor, since, limit })` (`GET /signals/inbox`, PRO+: your coordination, copy-trade, RHC coordination and RHC copy-trade signals in one resumable order; dedupe on `delivery_id`; `cursor: "acked"` resumes from your read position) and `client.ackSignalInbox({ cursor })` (`POST /signals/inbox/ack`, PRO+, monotonic read marker). The inbox answers 503 `feature_disabled` until it is enabled server-side. `client.token.insiderFlow(mint)` (`GET /tokens/{mint}/insider-flow`, PRO+: net SOL selling by creator, early buyers, bundlers and KOLs over 5 and 15 minutes; unproven amounts are null with `null_reasons`, never 0). `client.wallet.pnl(address, { scope: "recent" })` and `client.token.trades(mint, { order: "committed", committed_cursor })` expose the existing query options. New optional response fields: `data_contract` (token, token batch items, trades, holders, top-traders, wallet PnL, KOL feed, deployer profile), the unknown-realization counters and win-rate status fields on KOL leaderboard / compare / PnL, alpha leaderboard and top-traders, `incomplete_reasons` on wallet stats / PnL / positions, bundle-share `strict_bundle*` / `wallet_set` / `clusters_complete` / `balance_method`, candles `gap_fill` / `open_bucket_start` / `quality_checked`, token `flow_24h` and batch `vwap_status`, trade `market_price_observed_at*` / `committed_at` / `late*`. `AlphaWalletResponse` now types the `tokens` array the API returns; `wallet`, `positions` and `bot_signals` (never sent) are optional and deprecated. Quota texts corrected (price alerts PRO 5 / ULTRA 50 / BUSINESS 150 active alerts per chain; coordination rules PRO 5 / ULTRA 20 / BUSINESS 100; copy-trade PRO 3x5 / ULTRA 20x50 / BUSINESS 100x250; DEX stream ULTRA 3 / BUSINESS 6 connections).
18
+ >
19
+ > **New in 4.5.0 (2026-10-15, bundle clusters + terminal fields).** `client.alpha.bundles(mint, { window, min_wallets, limit, include_balances })` lists every coordinated buy cluster on a token, the launch bundle and clusters that enter later, with `phase`, `new_wallets`, `atomic_txs` and the cluster's sells so far (`exit`); a cluster is evidence, not a verdict. `client.alpha.bundleShare(mint, { window, min_wallets })` returns one figure, `bundled_pct_of_supply_now` (0 to 1), read from chain balances and null rather than a partial sum when a wallet could not be read. `client.kol.tokenTrades(mint, { limit, action, kol, since, cursor })` returns every stored KOL trade on one token, keyset paged. The stream gains the PRO+ `token:bundles` channel (`token:bundle_cluster`, `token:bundle_exit`; filters `TokenBundlesFilters`). Opt-in parameters now typed: `include_balances` on `bundle()` / `buyerQuality()` (`held_now`, `balance_now`, `dump_cluster_held_now`), `verify_current_balances` / `include_scout_scores` on `capTable()`, `include_wallet_flags` on `holders()` (`wallet_flags`, `wallet_flags_meta`), `include_launches_24h` on `deployer.tokens()`. Also typed: top-traders `cost_method` (`"fifo"`) with `unmatched_sell_tokens` / `cost_basis_complete` (and `unrealized_pnl_sol` / `total_pnl_sol` / `held_value_sol` are `null` when a holding cannot be priced), sniper `finalized_at`, depth `unsupported_pools[].fillable_up_to_sol`, and deployer activity `actor_wallet` / `actor_role` / `token_amount_raw` / `counterparty_class`. All new response fields are optional.
20
+
17
21
  > **New in 4.4.0 (early deploy observations).** The sniper feed (`client.sniper.*`, the `sniper:deploys` channel and the `sniper:deploy` webhook) is ULTRA, BUSINESS and ENTERPRISE only, and it reports observed deploy instructions, not executions. `SniperDeploy` gains `event_id` (deduplicate on it), `source` (`"shredprism"` or `"deshred"`), `outer_instruction_index`, `observation_stage`, `execution_status` (`"unknown"` until separate chain evidence resolves it), `transaction_version` (`"legacy"`, `0` or `1`), `transaction_config` (`EarlyTransactionConfig`: the requested compute and fee settings, `priority_fee_lamports` as a decimal string, unset resources `null`) and `fee_payer`. `StreamToken` gains `early_ws_url` and `early_stream`, present only when the early stream is active and the key is ULTRA or above. Every new field is optional and absent on older responses. No timing lead is promised.
18
22
 
19
23
  > **New in 4.3.0 (stream handshake fix + contract parity).** `MadeOnSolStream` no longer opens a second WebSocket (or requests a second stream token) when `connect()` or `subscribe()` is called while the first socket is still connecting; channels requested during the handshake are sent once it opens, and `close()` during the handshake leaves no socket behind. Response types gain the fields the API already serves: copy-trade identity v2 on `CopyTradeSignal` (`economic_action_id`, `source_actor`, `co_actors`, `identity_version`), LP security on `TokenSummary` (`lp_secured_pct`, `lp_secured_basis`, `lp_locked_until`), `AlmostBondedToken.launchpad` / `venue_source`, cap-table `ranks_completeness`, depth `pool_selection` and per-pool `model_detail` / `pool_account` / `fee_basis` / `bins_window` / `ticks_window`, batch-classify `label_coverage` / `rule_version` / `evidence_horizon`, proven-holding fields on wallet PnL and positions (`holding_check`, `position_basis`, `holding_status`, `holding_unverified_reason`, `cost_basis_status`, `holding`) and funding `wallet_coverage`. All additive and optional.
@@ -36,7 +40,7 @@ Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com)
36
40
 
37
41
  > **New in 2.28.0 — stream recovery: resume cursor, de-duplication, honest gaps.** The managed stream now tracks the cursor `{ instance, seq, ts }` of the last frame your handlers finished and resumes after it on every reconnect (the v1 `resume` request, with an automatic fallback to `replay_since_seq` / `replay_since_ts` on older servers). Delivery is at-least-once, de-duplicated by event `id`; new lifecycle events `cursor`, `replay`, `gap` (what could not be recovered — a `seq` gap is never loss) and `fatal`. Close codes are handled: 4001 re-fetches the token (bounded), 4002 waits ≥ 60 s instead of looping every second, 4003 stops, 4008 resumes; the backoff resets only after a `subscribed` ack. Every server `warning` frame is emitted (incl. `channels_rejected` / `channels_revoked`). `STREAM_CHANNELS` lists every Solana channel and `token:prices` joins the `StreamChannel` type. See the stream section's "Recovery" notes.
38
42
 
39
- > **New in 2.27.0 — deployer reputation as-of a date, and creator-fee rewards.** `client.deployerHunter.deployerAsOf(wallet, { date? })` (typed `DeployerAsOfResponse`) binds `GET /deployer-hunter/{wallet}/as-of`: the deployer's reputation exactly as it stood on `date` (default today, UTC) — the latest write-on-change snapshot at or before it, so a backtest sees only what was knowable then. `snapshot.snapshot_date` can predate `requested_date` (snapshots are write-on-change); `snapshot.carried: true` marks that. No snapshot at or before the date → `as_of: false, snapshot: null` — nothing is ever synthesized. `date` must be ≥ 2026-04-07 and not in the future. `client.deployerHunter.deployerRewards(wallet)` (typed `DeployerRewardsResponse`) binds `GET /deployer-hunter/{wallet}/rewards`: pump.fun creator-fee rewards, answered two ways that are never merged — `collected` (what actually reached the wallet: direct vault claims, kept 90 days; social-handle claims; shareholder payouts on **any** token) and `attributed` (every payout on the tokens it **deployed**, split `to_self`/`to_others` + `redirected_pct` — a deployer redirecting most of its fees elsewhere is visible in the gap between the two). Every money field is `{ sol, usdc, usd }`; `usd` is `null` (never a silent 0) when a SOL amount exists and no SOL price was available. `top_tokens`/`top_recipients` (≤10, USD-sorted) show where attributed fees went, recipients flagged `is_self`/`is_social_pda`. Works for non-deployers too (`is_deployer: false`, `attributed` empty). **PRO+** (BASIC receives HTTP 403) on the keyed `msk_` API. New types: `DeployerAsOfParams`, `DeployerAsOfResponse`, `DeployerAsOfSnapshot`, `DeployerRewardsResponse`, `DeployerRewardsMoney`, `DeployerRewardsRail`, `DeployerRewardsTopToken`, `DeployerRewardsTopRecipient`, `DeployerRewardsSocial`.
43
+ > **New in 2.27.0 — deployer reputation as-of a date, and creator-fee rewards.** `client.deployer.deployerAsOf(wallet, { date? })` (typed `DeployerAsOfResponse`) binds `GET /deployer-hunter/{wallet}/as-of`: the deployer's reputation exactly as it stood on `date` (default today, UTC) — the latest write-on-change snapshot at or before it, so a backtest sees only what was knowable then. `snapshot.snapshot_date` can predate `requested_date` (snapshots are write-on-change); `snapshot.carried: true` marks that. No snapshot at or before the date → `as_of: false, snapshot: null` — nothing is ever synthesized. `date` must be ≥ 2026-04-07 and not in the future. `client.deployer.deployerRewards(wallet)` (typed `DeployerRewardsResponse`) binds `GET /deployer-hunter/{wallet}/rewards`: pump.fun creator-fee rewards, answered two ways that are never merged — `collected` (what actually reached the wallet: direct vault claims, kept 90 days; social-handle claims; shareholder payouts on **any** token) and `attributed` (every payout on the tokens it **deployed**, split `to_self`/`to_others` + `redirected_pct` — a deployer redirecting most of its fees elsewhere is visible in the gap between the two). Every money field is `{ sol, usdc, usd }`; `usd` is `null` (never a silent 0) when a SOL amount exists and no SOL price was available. `top_tokens`/`top_recipients` (≤10, USD-sorted) show where attributed fees went, recipients flagged `is_self`/`is_social_pda`. Works for non-deployers too (`is_deployer: false`, `attributed` empty). **PRO+** (BASIC receives HTTP 403) on the keyed `msk_` API. New types: `DeployerAsOfParams`, `DeployerAsOfResponse`, `DeployerAsOfSnapshot`, `DeployerRewardsResponse`, `DeployerRewardsMoney`, `DeployerRewardsRail`, `DeployerRewardsTopToken`, `DeployerRewardsTopRecipient`, `DeployerRewardsSocial`.
40
44
 
41
45
  > **New in 2.26.0 — token surges & revivals: momentum fires with the honest half attached — one endpoint + one live channel.** `client.token.surges(params?)` (typed `TokenSurgesResponse`) binds `GET /tokens/surges`: **`surge`** = a token < 30 min old whose MC runs hard vs its *launch* MC (tier `early` ≤ 10 min / ≥ $12k / ≥ 3×, `strong` ≤ 30 min / ≥ $30k / ≥ 6× and still climbing, `breakout` ≤ 2 min / ≥ $45k / ≥ 8× — each fires once per mint, and only when SUSTAINED across ≥ 10 s, never on a one-tick mark); **`revival`** = a token with no trade candle for ≥ 24 h that started trading again, confirmed by real buys + buy volume on the tape, never by the price move alone. Hard gates on both: liquidity ≥ $1.5k and ≥ 2 % of MC, and the MC gained must be *paid for* (buy volume ≥ 3 % of the move — a spoof-pool mark moves MC on ~$0). Every row carries `tape` (buys / sells / volume, `unique_buyers` only where wallet data exists — `wallet_data_available: false` otherwise, never inferred), `kol`, `early_buyers` (bundled / sold / sniper wallets), `deployer` reputation and **`risk_flags[]`** (`bundled_launch`, `few_buyers`, `wash_pattern`, `thin_liquidity`, `cold_deployer`, `sniper_heavy`, `early_buyers_exiting`, `sell_pressure`, `no_tape_trades`, `no_prior_price`, `mint_authority_active`, `transfer_fee`); rows ≥ 65 min old carry the +1 h `outcome` (`mc_1h_multiple`, `peak_1h_multiple`, `priced_after_1h`) and `stats: true` returns per-(kind, tier) hit-rates — out-of-sample by construction. Filters `kind`, `tier`, `mint`, `launchpad`, `deployer_tier`, `min_mc_usd` / `max_mc_usd`, `min_buys`, `exclude_flags`, `only_clean`; cursors `since` / `before`. Pushed live on the new **`token:surges`** WS channel (events `token:surge` / `token:revival`, typed `TokenSurgeStreamEvent`, server-side filters `TokenSurgesSubscribeFilters`: `kinds[]`, `tiers[]`, `launchpads[]`, `exclude_flags[]`, `min_mc_usd` / `max_mc_usd`, `deployer_tier[]`). Nearly every scalar is `| null` — null means unknown, never zero. **PRO+** (BASIC receives HTTP 403) on the keyed `msk_` API.
42
46
 
@@ -46,7 +50,7 @@ Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com)
46
50
 
47
51
  > **New in 2.24.0 — live holder census: exact holder count, labelled holders, and pools that are named, not just excluded.** `client.alpha.holders(mint)` (typed `TokenHoldersResponse`) binds `GET /tokens/{mint}/holders` (PRO+): every token account of the mint read from the ledger at `confirmed` and merged per owner, so `concentration.holder_count` is EXACT (distinct non-zero owners minus pools / bonding curves / burns) — never a trade-derived estimate; it is `null` only when the provider refuses the census for a mega-cap, in which case you get the top-20 view and `source.census_fallback_reason` says so. Each disclosed owner carries our labels (`deployer` / `kol` / `early_buyer` / `bundle` / `bot` / `dump_cluster` — empty means unknown to us, not clean), and `excluded[]` NAMES what was taken out of the circulating denominator: `reason` = `pool` (with `dex` + `pool_address`), `bonding_curve` (pump.fun / LaunchLab), `burn`, or `program_account` only when we genuinely cannot attribute the PDA; `pool_pct` / `burned_pct` / `program_pct` split the exclusion. Amounts are raw u64 **strings**. Disclosure: PRO ranks 1–10, ULTRA 1–50, BUSINESS 1–100 — the maths is tier-independent. Big tokens take 5–30 s upstream: you get `503 holder_scan_in_progress` with `retry_after_seconds: 20` while the scan finishes into the cache, and the retry is instant.
48
52
 
49
- > **New in 2.23.0 — two prices on the trade tape, and the right one is now the default.** The trade tape now tells you what a trade actually cost. `price_sol`/`price_usd` on each trade are THIS trade's executed price — `sol_amount / token_amount`, reconciling exactly with the amounts on the same row and with the PnL endpoints. Because `sol_amount` is the wallet's net SOL movement, that is the trader's all-in effective rate: swap fee and any account rent included, not the pool mid. The market-cap tracker's canonical pool price moved to the new **`market_price_sol`/`market_price_usd`** fields — sampled once per token per pool update, so every trade in the same slot shares it. Until now `price_sol` carried that canonical value and disagreed with the row's own amounts by a **7.9% median** (p90 ~74%): a stale market price reads low in a pump and high in a dump, so anything you averaged out of the tape inherited the bias instead of cancelling it. Use `price_sol` for cost basis, fills and PnL; `market_price_sol` for a per-token series independent of trade size and direction. Both `client.alpha.tokenTrades(mint)` and `client.wallet.trades(address)` carry all four fields on `TokenTrade` / `WalletTrade` — the wallet tape returned amounts and no price at all before.
53
+ > **New in 2.23.0 — two prices on the trade tape, and the right one is now the default.** The trade tape now tells you what a trade actually cost. `price_sol`/`price_usd` on each trade are THIS trade's executed price — `sol_amount / token_amount`, reconciling exactly with the amounts on the same row and with the PnL endpoints. Because `sol_amount` is the wallet's net SOL movement, that is the trader's all-in effective rate: swap fee and any account rent included, not the pool mid. The market-cap tracker's canonical pool price moved to the new **`market_price_sol`/`market_price_usd`** fields — sampled once per token per pool update, so every trade in the same slot shares it. Until now `price_sol` carried that canonical value and disagreed with the row's own amounts by a **7.9% median** (p90 ~74%): a stale market price reads low in a pump and high in a dump, so anything you averaged out of the tape inherited the bias instead of cancelling it. Use `price_sol` for cost basis, fills and PnL; `market_price_sol` for a per-token series independent of trade size and direction. Both `client.token.trades(mint)` and `client.wallet.trades(address)` carry all four fields on `TokenTrade` / `WalletTrade` — the wallet tape returned amounts and no price at all before.
50
54
 
51
55
  > **New in 2.22.0** — **Clean stream shutdown.** `client.stream.connect().close()` now fully tears down the underlying WebSocket so short-lived scripts exit promptly instead of hanging on a lingering socket. In Node the client now prefers the `ws` package (which exposes `terminate()`) and hard-terminates on close; the browser still uses the native WebSocket. No API changes — purely a lifecycle fix. (If you don't already depend on `ws` and want the fast exit on Node ≥22, `npm i ws`.)
52
56
  >
@@ -76,7 +80,7 @@ Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com)
76
80
 
77
81
  > **Historical 2.9 release:** introduced the sniper endpoints. The current contract requires ULTRA/BUSINESS/ENTERPRISE and exposes observed intent separately from execution; see the early sniper section below.
78
82
  >
79
- > **New in 2.8** — **Price alerts, scout leaderboard, wallet derived stats.** `client.priceAlerts.*` — CRUD for token MC dip/recovery alerts delivered via webhook or WebSocket (PRO=5, ULTRA=25). `client.kol.scoutLeaderboard()` — top scouts ranked by first-touch follow-on rate. `client.kol.coordinationHistory()` and `client.token.peakHistory()` expose the historical record. `client.wallet.stats()` now returns a `derived` block: `win_rate`, `roi`, `verdict`, and `biggest_miss`.
83
+ > **New in 2.8** — **Price alerts, scout leaderboard, wallet derived stats.** `client.priceAlerts.*` — CRUD for token MC dip/recovery alerts delivered via webhook or WebSocket (today: PRO 5, ULTRA 50, BUSINESS 150 active alerts per chain). `client.kol.scoutLeaderboard()` — top scouts ranked by first-touch follow-on rate. `client.kol.coordinationHistory()` and `client.token.peakHistory()` expose the historical record. `client.wallet.stats()` now returns a `derived` block: `win_rate`, `roi`, `verdict`, and `biggest_miss`.
80
84
  >
81
85
  > **New in 2.7** — **Universal Wallet API.** `client.wallet.stats()`, `client.wallet.pnl()`, `client.wallet.positions()`, `client.wallet.trades()` — FIFO cost-basis PnL, open positions hydrated with live prices, and cursor-paginated raw trades for **any** Solana wallet (not just curated KOLs). PRO+. Server-side cache (5min/1h/24h based on activity) — cache hits don't count against your quota.
82
86
  >
@@ -107,7 +111,7 @@ const { trades } = await client.kol.feed({ limit: 5, action: "buy" });
107
111
  | **Bundle Cohort** | The wallets that bought a token together (one atomic tx or the same slot) and — headline first — `held_pct_of_supply` still held, plus `held_ratio`, `fully_exited`, and buy volume. Every tier gets the summary; PRO adds top-10 wallet flags; ULTRA adds KOL identity, win rate, bot confidence, and per-wallet balances. |
108
112
  | **Universal Wallet** | FIFO cost-basis PnL, open positions (hydrated with live prices), and raw trade history for **any** Solana wallet — not just curated KOLs. 90-day window, server-side cache. PRO+. |
109
113
  | **Verified Holdings** | Current on-chain SPL + Token-2022 balances + SOL, read straight from chain and enriched with price/MC/name, plus a `transfer_delta` that exposes airdrops / insider funding / wallet-hopping (tokens that moved without a swap). ULTRA. |
110
- | **Price Alerts** | Token MC dip/recovery alerts delivered via WebSocket or HMAC-signed webhook. PRO: 5 rules, ULTRA: 25. |
114
+ | **Price Alerts** | Token MC dip/recovery alerts delivered via WebSocket or HMAC-signed webhook. PRO: 5, ULTRA: 50, BUSINESS: 150 active alerts per chain. |
111
115
  | **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. |
112
116
  | **Deployer Hunter** | 23,000+ pump.fun deployers scored by bonding rate — tier leaderboard, deploy alerts, deployer profiles, and best-tokens feed. |
113
117
  | **DEX Trade Stream** | Real-time WebSocket stream of ALL Solana DEX trades across 9+ programs — filter by token, wallet, DEX, deployer tier, or trade size. ~5 min replay + in-band graduation frames on mint-scoped subs. ULTRA. |
@@ -149,7 +153,7 @@ console.log(trades[0].kol_name, "bought", trades[0].token_symbol);
149
153
 
150
154
  // Early sniper — execution initially unknown (ULTRA/BUSINESS/ENTERPRISE)
151
155
  const { deploys } = await client.sniper.recent({ limit: 20, min_bond_rate: 0.5 });
152
- console.log(deploys[0].token_name, "deployed by", deploys[0].deployer_tier, "tier deployer");
156
+ console.log(deploys[0].name, "deployed by", deploys[0].deployer_tier, "tier deployer");
153
157
 
154
158
  // Multi-KOL coordination signal
155
159
  const { coordination } = await client.kol.coordination({ min_kols: 3, min_score: 70 });
@@ -276,7 +280,7 @@ Returns: `KolCoordinationResponse` — `{ coordination: CoordinatedToken[], scor
276
280
 
277
281
  #### `client.coordinationAlerts.*` (v1.1)
278
282
 
279
- 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.**
283
+ 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, BUSINESS: 100.**
280
284
 
281
285
  ```ts
282
286
  // Create a rule: ≥5 KOLs, 10-min window, score ≥70, webhook delivery
@@ -307,7 +311,7 @@ WebSocket delivery: subscribe to channel `kol:coordination` on `wss://madeonsol.
307
311
 
308
312
  #### `client.priceAlerts.*` *(new in 2.8)*
309
313
 
310
- **Sub-second token MC dip/recovery alerts.** Set a drop threshold on any token — when MC drops below baseline, a `price_alert:dip` event fires. Optionally track recovery. **PRO: 5 alerts, ULTRA: 25 alerts.**
314
+ **Sub-second token MC dip/recovery alerts.** Set a drop threshold on any token — when MC drops below baseline, a `price_alert:dip` event fires. Optionally track recovery. **PRO: 5 alerts, ULTRA: 50, BUSINESS: 150 (per chain).**
311
315
 
312
316
  ```ts
313
317
  // Create: alert when token drops 20%, then notify when it recovers 15% from the dip low
@@ -486,7 +490,7 @@ Returns: `KolPnlResponse`
486
490
  Tokens ranked by KOL buy volume across multiple time windows.
487
491
 
488
492
  ```ts
489
- const { tokens } = await client.kol.trendingTokens({
493
+ const { trending } = await client.kol.trendingTokens({
490
494
  period: "1h", // "5m" | "15m" | "30m" | "1h" | "4h" | "8h" | "12h", default "1h"
491
495
  min_kols: 2, // minimum distinct KOL buyers
492
496
  limit: 20, // 1–50, default 20
@@ -494,7 +498,7 @@ const { tokens } = await client.kol.trendingTokens({
494
498
  // Available on all tiers; ULTRA unlocks full KOL wallet addresses per token
495
499
  ```
496
500
 
497
- Returns: `KolTrendingTokensResponse`
501
+ Returns: `KolTrendingResponse`
498
502
 
499
503
  ---
500
504
 
@@ -505,7 +509,7 @@ Returns: `KolTrendingTokensResponse`
505
509
  Leaderboard of 1M+ scored early-buyer wallets ranked by win rate, PnL, or ROI.
506
510
 
507
511
  ```ts
508
- const { wallets } = await client.alpha.leaderboard({
512
+ const { leaderboard } = await client.alpha.leaderboard({
509
513
  period: "30d", // "7d" | "30d" | "90d", default "30d"
510
514
  sort: "win_rate", // "win_rate" | "pnl" | "roi"
511
515
  min_tokens: 5,
@@ -678,20 +682,20 @@ Returns: `TokenHoldersResponse` (`TokenHolder`, `TokenHoldersExcluded`, `TokenHo
678
682
  List your tracked wallets and remaining capacity.
679
683
 
680
684
  ```ts
681
- const { wallets, capacity } = await client.walletTracker.watchlist();
682
- // capacity: { used, limit } — Free: 10, Pro: 50, Ultra: 100
685
+ const { wallets, count, limit, remaining } = await client.walletTracker.watchlist();
686
+ // limit — Pro: 50, Ultra: 250, Business: 1,000 (no wallet tracker on Free)
683
687
  ```
684
688
 
685
689
  Returns: `WatchlistResponse`
686
690
 
687
691
  ---
688
692
 
689
- #### `client.walletTracker.addToWatchlist(wallet, params?)`
693
+ #### `client.walletTracker.addToWatchlist(params)`
690
694
 
691
695
  Add a wallet to your watchlist. Tracking begins immediately.
692
696
 
693
697
  ```ts
694
- await client.walletTracker.addToWatchlist("7xKX...", { label: "whale" });
698
+ await client.walletTracker.addToWatchlist({ wallet_address: "7xKX...", label: "whale" });
695
699
  ```
696
700
 
697
701
  ---
@@ -706,12 +710,12 @@ await client.walletTracker.removeFromWatchlist("7xKX...");
706
710
 
707
711
  ---
708
712
 
709
- #### `client.walletTracker.updateLabel(wallet, label)`
713
+ #### `client.walletTracker.updateLabel(wallet, params)`
710
714
 
711
715
  Update the label for a tracked wallet.
712
716
 
713
717
  ```ts
714
- await client.walletTracker.updateLabel("7xKX...", "smart money");
718
+ await client.walletTracker.updateLabel("7xKX...", { label: "smart money" });
715
719
  ```
716
720
 
717
721
  ---
@@ -726,7 +730,7 @@ const { events } = await client.walletTracker.trades({
726
730
  action: "buy", // "buy" | "sell"
727
731
  event_type: "swap", // "swap" | "transfer"
728
732
  limit: 50,
729
- before: "2026-04-01T00:00:00Z", // ISO 8601 cursor
733
+ before: 1775001600, // block_time cursor (next_cursor from the previous page)
730
734
  });
731
735
  ```
732
736
 
@@ -921,7 +925,7 @@ Global statistics across all tracked deployer wallets.
921
925
 
922
926
  ```ts
923
927
  const stats = await client.deployer.stats();
924
- console.log(stats.overall_bonding_rate); // e.g. 0.043
928
+ console.log(stats.bond_rate); // e.g. 0.043
925
929
  ```
926
930
 
927
931
  Returns: `DeployerStats`
@@ -951,7 +955,7 @@ Full profile for a single deployer wallet.
951
955
 
952
956
  ```ts
953
957
  const deployer = await client.deployer.profile("3xAB...");
954
- console.log(deployer.tier, deployer.bonding_rate);
958
+ console.log(deployer.deployer?.tier, deployer.deployer?.bonding_rate);
955
959
  ```
956
960
 
957
961
  Returns: `DeployerProfile`
@@ -1025,7 +1029,7 @@ Returns: `BestTokensResponse`
1025
1029
  Most recently bonded tokens from tracked deployers.
1026
1030
 
1027
1031
  ```ts
1028
- const { bonds } = await client.deployer.recentBonds({ limit: 20 });
1032
+ const { tokens } = await client.deployer.recentBonds({ limit: 20 });
1029
1033
  ```
1030
1034
 
1031
1035
  Returns: `RecentBondsResponse`
@@ -1496,7 +1500,7 @@ const { evicted } = await client.stream.deleteSession(sessions[0].id);
1496
1500
 
1497
1501
  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.
1498
1502
 
1499
- **Limits:** ULTRA = 2 connections, **10 named subscriptions per connection**, up to **500 trades replay** from a server-side buffer holding ~5 minutes of firehose history (not connection-scoped — covers trades from before you connected; newest-first, sort by `block_time`). Inbound rate limit: 5 messages/sec (excess emits one error per second).
1503
+ **Limits:** ULTRA 3 connections, BUSINESS 6, **10 named subscriptions per connection**, up to **500 trades replay** from a server-side buffer holding ~5 minutes of firehose history (not connection-scoped — covers trades from before you connected; newest-first, sort by `block_time`). Inbound rate limit: 5 messages/sec (excess emits one error per second).
1500
1504
 
1501
1505
  #### Quick start
1502
1506
 
@@ -1635,9 +1639,9 @@ const webhook = await client.webhooks.create({
1635
1639
 
1636
1640
  // List, update, delete
1637
1641
  const { webhooks } = await client.webhooks.list();
1638
- await client.webhooks.update(webhook.id, { status: "paused" });
1639
- await client.webhooks.delete(webhook.id);
1640
- await client.webhooks.test(webhook.id);
1642
+ await client.webhooks.update(webhook.webhook.id, { is_active: false });
1643
+ await client.webhooks.delete(webhook.webhook.id);
1644
+ await client.webhooks.test(webhook.webhook.id);
1641
1645
  ```
1642
1646
 
1643
1647
  ---
@@ -1714,7 +1718,7 @@ import type {
1714
1718
 
1715
1719
  // KOL PnL & Trending
1716
1720
  KolPnlResponse,
1717
- KolTrendingTokensResponse,
1721
+ KolTrendingResponse,
1718
1722
  TrendingToken,
1719
1723
 
1720
1724
  // Alpha Wallet Intelligence
@@ -1771,7 +1775,7 @@ import type {
1771
1775
 
1772
1776
  ## Related
1773
1777
 
1774
- - [MadeOnSol website](https://madeonsol.com) — Browse 950+ Solana tools
1778
+ - [MadeOnSol website](https://madeonsol.com) — Browse 1,200+ Solana & Robinhood Chain tools
1775
1779
  - [API documentation](https://madeonsol.com/api-docs) — Interactive endpoint reference
1776
1780
  - [Pricing & API keys](https://madeonsol.com/pricing) — Free tier: 200 requests/day, no signup payment
1777
1781
  - [MadeOnSol on GitHub](https://github.com/madeonsol/madeonsol) — Main project repository