madeonsol 4.2.0 → 4.4.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/README.md +13 -9
- package/dist/index.d.ts +179 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +3 -1
- package/dist/stream.js.map +1 -1
- package/package.json +1 -1
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
|
|
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).
|
|
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.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
|
+
|
|
19
|
+
> **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.
|
|
20
|
+
|
|
17
21
|
> **New in 4.2.0 (any-wallet copy-trade).** Copy-trade rules can now follow any wallet, KOL or not (server 2026-10-04; KOL membership is enrichment only and copy-trade sources do not use Wallet Tracker quota). `CopyTradeSubscription` gains `source_admission` (`CopyTradeSourceAdmission`: `"any_wallet"` | legacy `"kol_only"`), `operational_state` (`CopyTradeOperationalState`: `eligible`, or an infrastructure state `monitoring_pending` / `monitoring_unavailable` / `source_capacity_unavailable`; legacy `no_tracked_sources` / `unknown`) and `monitoring_reasons`; `source_wallets_tracked` / `source_wallets_untracked` are deprecated (kept and still filled). **Token locks:** `TokenLockProgram` adds `smithii_vesting` and `sablier_lockup`; `TokenLock` gains the Sablier stream-NFT holder proof (`holder_status`, `last_proven_holder`, `holder_proven_at_slot`; `recipient` is only the CURRENT proven holder) and `withdrawn_tracked` — `withdrawn_raw` / `claimable_raw` are now `string | null` (null when the program does not expose withdrawals, e.g. Smithii). Additive on the wire; the two nullable changes can surface as compile-time errors under `strictNullChecks`.
|
|
18
22
|
|
|
19
23
|
> **New in 4.1.0 (deployer activity timeline).** `client.deployer.deployerActivity(wallet, { limit?, cursor?, since?, types? })` (typed `DeployerActivityResponse`) binds `GET /deployer-hunter/{wallet}/activity`: one newest-first timeline of launches, the deployer's own dev buys/sells, creator transfers, fee claims, funding in and capital out, windowed on each event's own time (PRO 30 d, ULTRA 365 d, BUSINESS unbounded; page clamped to 100 / 100 / 500 and echoed in `plan`). History is served from the online store only for now: read `coverage.families.<family>.complete`, `archive_required_before` and `plan.history.archive_only` before treating an empty range as "nothing happened". A wallet with no attributed launch reports `dev_trades.skipped_reason: "no_attributed_launch"`. PRO responses never carry an identity block or a fee-payer address; ULTRA/BUSINESS `identity` is `not_available` until identity stitching is released. **PRO+**. New types: `DeployerActivityResponse`, `DeployerActivityParams`, `DeployerActivityEvent`, `DeployerActivityEventType`, `DeployerActivityFamilyCoverage`, `DeployerActivityHistoryPlan`, `DeployerActivityRange`.
|
|
@@ -70,7 +74,7 @@ Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com)
|
|
|
70
74
|
>
|
|
71
75
|
> **New in 2.11** — **Graduation events + dump-cluster detection.** Subscribe `token:graduations` for every pump.fun bond in real time — tracked deployer or not — with typed `GraduationEvent` payloads (mint, deployer tier, time-to-bond, MC at bond). Buyer-quality `breakdown` adds `dump_cluster_count` (out-of-sample validated: 3+ such wallets in the first-20 → 94% dump vs 61% base) and `recycled_early_buyer_count` (high count with zero cluster leans runner). DEX firehose: replay buffer deepened to ~5 minutes; mint-scoped subs now receive in-band `dex:graduations` frames — the bond lands on the same connection as your position's trade flow.
|
|
72
76
|
|
|
73
|
-
> **
|
|
77
|
+
> **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.
|
|
74
78
|
>
|
|
75
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`.
|
|
76
80
|
>
|
|
@@ -97,7 +101,7 @@ const { trades } = await client.kol.feed({ limit: 5, action: "buy" });
|
|
|
97
101
|
| Feature | Description |
|
|
98
102
|
|---|---|
|
|
99
103
|
| **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,069 tracked KOL wallets. **180 days of trade history** retained. |
|
|
100
|
-
| **
|
|
104
|
+
| **Early Sniper** | Early deploy observations and watchlists for ULTRA/BUSINESS/ENTERPRISE. Execution starts unknown; no guaranteed timing lead. Use WebSocket/webhook for live push. |
|
|
101
105
|
| **Alpha Wallet Intel** | Leaderboard of 1M+ scored early-buyer wallets, full wallet profiles, linked-wallet clustering, token cap-table enrichment, and 0–100 buyer quality scores with dump-cluster wallet detection. |
|
|
102
106
|
| **Token Risk Score** | Transparent 0–100 rug-risk/safety score per token with a `safe`/`caution`/`danger` band, explainable factor breakdown, and the raw inputs (authorities, liquidity, transfer fee, launch cohort, deployer bond rate, KOL signal, blacklist). PRO/ULTRA. |
|
|
103
107
|
| **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. |
|
|
@@ -143,7 +147,7 @@ const client = new MadeOnSol({ apiKey: "msk_your_api_key_here" });
|
|
|
143
147
|
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });
|
|
144
148
|
console.log(trades[0].kol_name, "bought", trades[0].token_symbol);
|
|
145
149
|
|
|
146
|
-
//
|
|
150
|
+
// Early sniper — execution initially unknown (ULTRA/BUSINESS/ENTERPRISE)
|
|
147
151
|
const { deploys } = await client.sniper.recent({ limit: 20, min_bond_rate: 0.5 });
|
|
148
152
|
console.log(deploys[0].token_name, "deployed by", deploys[0].deployer_tier, "tier deployer");
|
|
149
153
|
|
|
@@ -163,7 +167,7 @@ const { tools } = await client.tools.search({ q: "trading", limit: 10 });
|
|
|
163
167
|
## Use cases
|
|
164
168
|
|
|
165
169
|
- **Copy-trading bot** — stream KOL buys via `client.kol.feed()` and mirror trades
|
|
166
|
-
- **
|
|
170
|
+
- **Early sniper** — `client.sniper.recent()` or subscribe to `sniper:deploys` WebSocket for early observations with separate execution evidence
|
|
167
171
|
- **DEX trade sniping** — subscribe to the all-DEX stream filtered by token, wallet, or deployer tier
|
|
168
172
|
- **Graduation sniper / position manager** — subscribe `token:graduations` for every pump.fun bond in real time, or hold a mint-scoped firehose sub and get the bond in-band with your position's trade flow
|
|
169
173
|
- **Coordination detector** — flag tokens with `client.kol.coordination({ min_kols: 3, min_score: 70 })`
|
|
@@ -331,12 +335,12 @@ WebSocket: subscribe to channel `price_alert:events` — user-scoped. Webhook: p
|
|
|
331
335
|
|
|
332
336
|
---
|
|
333
337
|
|
|
334
|
-
#### `client.sniper.*` —
|
|
338
|
+
#### `client.sniper.*` — Early Sniper Alerts *(new in 2.9)*
|
|
335
339
|
|
|
336
|
-
|
|
340
|
+
Early deploy observations require **ULTRA/BUSINESS/ENTERPRISE**. With ShredPrism activated, stream-token discovery includes `early_ws_url` and `early_stream` for `early:deploys`. Execution starts unknown; use separate execution evidence and deduplicate by `event_id`. No timing lead or settlement rate is guaranteed. REST, legacy sniper WebSocket/webhook delivery and watchlists use the same tier gate.
|
|
337
341
|
|
|
338
342
|
```ts
|
|
339
|
-
// Newest-first
|
|
343
|
+
// Newest-first early deploy feed (ULTRA/BUSINESS/ENTERPRISE)
|
|
340
344
|
const { deploys } = await client.sniper.recent({ limit: 50, min_bond_rate: 0.5 });
|
|
341
345
|
|
|
342
346
|
// Audit one deployer's recent launches (ULTRA)
|
|
@@ -349,7 +353,7 @@ const { deploys: tracked } = await client.sniper.recent({ watchlist: true });
|
|
|
349
353
|
await client.sniper.removeFromWatchlist("7dEx...4pQ8");
|
|
350
354
|
```
|
|
351
355
|
|
|
352
|
-
|
|
356
|
+
An observation is not proof of execution. `confirmed_on_chain` stays null until separate evidence is available. `transaction_config` carries encoded requests, with absent resource fields null and fees as decimal strings. Legacy push uses `sniper:deploy` / `sniper:deploys`; direct early delivery uses the separately advertised early WebSocket endpoint.
|
|
353
357
|
|
|
354
358
|
**v2.20** — each deploy also carries a `footprint` block (`SniperFootprint | null`): the slot-window snipe rollup for slots [-1..+3] around the deploy — `buys`, `buyers`, `sol`, `supply_pct`, `sniper_wallet_buys`, `data_available`, `as_of`. `null` until the ~10-min settle window has passed (or when the mint is outside the pump.fun-pipeline write-gate) — absent, not zero.
|
|
355
359
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1839,6 +1839,14 @@ export interface DeployerActivityEvent {
|
|
|
1839
1839
|
/** Time of the event itself (the window applies to this). */
|
|
1840
1840
|
at: string;
|
|
1841
1841
|
time_basis: "chain" | "ingest" | "chain_or_ingest";
|
|
1842
|
+
/** dev transfer / dev trade rows restored after a delivery gap (history only, never delivered live). getBlock recovery has `time_basis: "chain"`; spool replay keeps the original receive time (`"ingest"`). */
|
|
1843
|
+
recovered?: boolean;
|
|
1844
|
+
/** When the recovery wrote the row (only with `recovered: true`). */
|
|
1845
|
+
recovered_at?: string | null;
|
|
1846
|
+
/** Received live but classified after a parked creator lookup (broad transfer source); `at` stays the receive time. */
|
|
1847
|
+
late_classified?: boolean;
|
|
1848
|
+
/** Transfers aggregate per (tx, token, direction, actor): how many counterparties the aggregate has (null on rows written before 2026-10-06). */
|
|
1849
|
+
counterparty_count?: number | null;
|
|
1842
1850
|
mint?: string | null;
|
|
1843
1851
|
name?: string | null;
|
|
1844
1852
|
symbol?: string | null;
|
|
@@ -2095,6 +2103,20 @@ export interface AlphaCapTableResponse {
|
|
|
2095
2103
|
summary: AlphaCapTableSummary;
|
|
2096
2104
|
/** v2.22.4 — trade-coverage disclosure (additive; absent on older cached responses). */
|
|
2097
2105
|
coverage?: TradeCoverage;
|
|
2106
|
+
/** 2026-10: whether early-buyer ranks 1..20 can be trusted. `gap_overlap` = a
|
|
2107
|
+
* recorded ingest gap overlaps launch to the last ranked buy, so a true early
|
|
2108
|
+
* buyer may be missing. Absent on older responses. */
|
|
2109
|
+
ranks_completeness?: {
|
|
2110
|
+
ranks_complete: "observed_from_launch" | "gap_overlap" | "not_verified" | "no_ranks";
|
|
2111
|
+
rank_basis: "first_persisted_buys_at_or_above_floor";
|
|
2112
|
+
window: {
|
|
2113
|
+
from: string;
|
|
2114
|
+
to: string;
|
|
2115
|
+
} | null;
|
|
2116
|
+
gaps_overlapping: number;
|
|
2117
|
+
open_slots: number;
|
|
2118
|
+
gaps_in_open_slots: number;
|
|
2119
|
+
};
|
|
2098
2120
|
}
|
|
2099
2121
|
export interface AlphaBuyerQualityBreakdown {
|
|
2100
2122
|
alpha_wallet_count: number;
|
|
@@ -3953,8 +3975,29 @@ export interface TokenDepthPool extends TokenDepthPoolBase {
|
|
|
3953
3975
|
depth_available: true;
|
|
3954
3976
|
/** The model the depth math ran on (matches `pool_model`). */
|
|
3955
3977
|
model: string;
|
|
3978
|
+
/** Concentrated pools only: the program-exact model that produced the numbers. */
|
|
3979
|
+
model_detail?: "meteora_dlmm_bins" | "raydium_clmm_ticks" | "meteora_damm_v2_full_range";
|
|
3980
|
+
/** Meteora DAMM v2 only: the proven Pool account (`pool_address` is the vault). */
|
|
3981
|
+
pool_account?: string;
|
|
3956
3982
|
/** Swap fee, % (e.g. 0.25). */
|
|
3957
3983
|
fee_pct: number;
|
|
3984
|
+
/** `observed_event` (PumpSwap virtual-reserve model), `dynamic_fee_at_quote_time`
|
|
3985
|
+
* (Meteora DLMM base + variable fee) or `amm_config_at_quote_time`. Absent =
|
|
3986
|
+
* static venue fee. */
|
|
3987
|
+
fee_basis?: "observed_event" | "dynamic_fee_at_quote_time" | "amm_config_at_quote_time";
|
|
3988
|
+
/** Meteora DLMM only: the loaded bin range and its slot; quotes never walk outside it. */
|
|
3989
|
+
bins_window?: {
|
|
3990
|
+
from_bin: number;
|
|
3991
|
+
to_bin: number;
|
|
3992
|
+
slot: number;
|
|
3993
|
+
};
|
|
3994
|
+
/** Raydium CLMM only: the loaded tick range [from_tick, to_tick) in the buy
|
|
3995
|
+
* direction and its slot. */
|
|
3996
|
+
ticks_window?: {
|
|
3997
|
+
from_tick: number;
|
|
3998
|
+
to_tick: number;
|
|
3999
|
+
slot: number;
|
|
4000
|
+
};
|
|
3958
4001
|
source: TokenDepthSource;
|
|
3959
4002
|
/** Age of the stream reserves in ms (time since the pool's last swap); 0 for
|
|
3960
4003
|
* `live_rpc` reads. */
|
|
@@ -3989,6 +4032,14 @@ export interface TokenDepthResponse {
|
|
|
3989
4032
|
pools: TokenDepthPool[];
|
|
3990
4033
|
unsupported_pools: TokenDepthUnsupportedPool[];
|
|
3991
4034
|
note?: string;
|
|
4035
|
+
/** Only with a concentrated depth model enabled: largest known pool vs the
|
|
4036
|
+
* reported pool; routing is single-pool only. */
|
|
4037
|
+
pool_selection?: {
|
|
4038
|
+
largest_known_pool: string;
|
|
4039
|
+
largest_known_pool_supported: boolean;
|
|
4040
|
+
primary_pool: string | null;
|
|
4041
|
+
routing: "single_pool_only";
|
|
4042
|
+
};
|
|
3992
4043
|
_rid?: string;
|
|
3993
4044
|
}
|
|
3994
4045
|
/** Payload of a `token:graduation` stream event — every pump.fun graduation
|
|
@@ -4084,11 +4135,28 @@ export interface WalletClassification {
|
|
|
4084
4135
|
kol_name: string | null;
|
|
4085
4136
|
bot_confidence: BotConfidence | null;
|
|
4086
4137
|
dump_cluster: DumpClusterStats | null;
|
|
4138
|
+
/** 2026-10: whether each flag's rule actually evaluated this wallet.
|
|
4139
|
+
* `evaluated: false` means the boolean is "no evidence", not "verified clean". */
|
|
4140
|
+
label_coverage?: Record<"sniper" | "bundler" | "dumper" | "kol", LabelCoverageEntry>;
|
|
4141
|
+
}
|
|
4142
|
+
export type LabelCoverageReason = "flagged" | "rule_evaluated" | "insufficient_sample" | "not_checked_budget" | "sample_unavailable" | "population_not_checked" | "no_cohort_stats" | "registry";
|
|
4143
|
+
export interface LabelCoverageEntry {
|
|
4144
|
+
evaluated: boolean;
|
|
4145
|
+
reason: LabelCoverageReason;
|
|
4087
4146
|
}
|
|
4088
4147
|
export interface WalletBatchClassifyResponse {
|
|
4089
4148
|
wallets: WalletClassification[];
|
|
4090
4149
|
count: number;
|
|
4091
4150
|
as_of: string;
|
|
4151
|
+
/** 2026-10: label rule version, e.g. `wallet-labels/368-v1`. */
|
|
4152
|
+
rule_version?: string;
|
|
4153
|
+
/** 2026-10: one sentence per label describing its population and window. */
|
|
4154
|
+
evidence_horizon?: {
|
|
4155
|
+
sniper: string;
|
|
4156
|
+
bundler: string;
|
|
4157
|
+
dumper: string;
|
|
4158
|
+
kol: string;
|
|
4159
|
+
};
|
|
4092
4160
|
_rid?: string;
|
|
4093
4161
|
}
|
|
4094
4162
|
export interface WalletTopToken {
|
|
@@ -4262,6 +4330,42 @@ export interface WalletOpenPosition {
|
|
|
4262
4330
|
unrealized_pct: number | null;
|
|
4263
4331
|
first_buy_at: string | null;
|
|
4264
4332
|
buys_in_position: number;
|
|
4333
|
+
/** 2026-10: positions are FIFO-open DEX buys (a trade position), not a proven holding. */
|
|
4334
|
+
position_basis?: "swap_derived";
|
|
4335
|
+
/** 2026-10: `verified` = an on-chain balance snapshot confirmed this position. */
|
|
4336
|
+
holding_status?: "verified" | "unverified";
|
|
4337
|
+
holding_unverified_reason?: "not_checked" | "no_fresh_snapshot" | "snapshot_unreadable" | "snapshot_older_than_trades" | "decimals_mismatch" | "balance_invalid" | null;
|
|
4338
|
+
/** `partial` = a verified balance exceeds the trade position; the excess
|
|
4339
|
+
* arrived without a swap and has no cost basis. */
|
|
4340
|
+
cost_basis_status?: "known" | "partial";
|
|
4341
|
+
/** Present (non-null) only when `holding_status` is `verified`. */
|
|
4342
|
+
holding?: WalletPositionHolding | null;
|
|
4343
|
+
}
|
|
4344
|
+
/** 2026-10: proven on-chain holding for one swap-derived position. */
|
|
4345
|
+
export interface WalletPositionHolding {
|
|
4346
|
+
status: "HELD" | "PARTIALLY_REDUCED" | "TRANSFERRED_OR_DISPOSED" | "EXTERNAL_INFLOW";
|
|
4347
|
+
onchain_balance: number;
|
|
4348
|
+
held_known_amount: number;
|
|
4349
|
+
external_inflow_amount: number;
|
|
4350
|
+
cost_basis_held_sol: number;
|
|
4351
|
+
unrealized_known_sol: number | null;
|
|
4352
|
+
/** Cost of FIFO lots no longer in the wallet. Outcome unknown: neither realized nor unrealized. */
|
|
4353
|
+
cost_basis_not_held_sol: number;
|
|
4354
|
+
verified_at: string;
|
|
4355
|
+
source: "wallet_holdings_cache";
|
|
4356
|
+
}
|
|
4357
|
+
/** 2026-10: summary of the proven-holding check over the returned open positions. */
|
|
4358
|
+
export interface WalletHoldingCheck {
|
|
4359
|
+
mode: "off" | "cache";
|
|
4360
|
+
source: "wallet_holdings_cache" | null;
|
|
4361
|
+
verified_at: string | null;
|
|
4362
|
+
verified: number;
|
|
4363
|
+
unverified: number;
|
|
4364
|
+
held: number;
|
|
4365
|
+
partially_reduced: number;
|
|
4366
|
+
transferred_or_disposed: number;
|
|
4367
|
+
external_inflow: number;
|
|
4368
|
+
note: string;
|
|
4265
4369
|
}
|
|
4266
4370
|
export interface WalletPnlNotes {
|
|
4267
4371
|
/** Cost basis is observable only from this timestamp onwards (data window cutoff). */
|
|
@@ -4279,6 +4383,8 @@ export interface WalletPnlResponse {
|
|
|
4279
4383
|
closed_positions: WalletClosedPosition[];
|
|
4280
4384
|
open_positions: WalletOpenPosition[];
|
|
4281
4385
|
notes: WalletPnlNotes;
|
|
4386
|
+
/** 2026-10: proven-holding check summary. Absent on older responses. */
|
|
4387
|
+
holding_check?: WalletHoldingCheck;
|
|
4282
4388
|
cache_hit?: boolean;
|
|
4283
4389
|
/** Only present on cache hits. */
|
|
4284
4390
|
computed_at?: string;
|
|
@@ -4298,6 +4404,8 @@ export interface WalletPnlResponse {
|
|
|
4298
4404
|
export interface WalletPositionsResponse {
|
|
4299
4405
|
address: string;
|
|
4300
4406
|
positions: WalletOpenPosition[];
|
|
4407
|
+
/** 2026-10: proven-holding check summary. Absent on older responses. */
|
|
4408
|
+
holding_check?: WalletHoldingCheck;
|
|
4301
4409
|
cache_hit?: boolean;
|
|
4302
4410
|
computed_at?: string | null;
|
|
4303
4411
|
ttl_seconds?: number | null;
|
|
@@ -4594,6 +4702,15 @@ export interface TokenSummary {
|
|
|
4594
4702
|
/** VERIFIED LP evidence only; null = unknown (the honest answer for nearly every token today). */
|
|
4595
4703
|
lp_burned?: boolean | null;
|
|
4596
4704
|
lp_burn_status?: LpBurnStatus;
|
|
4705
|
+
/** Burned + non-cancelable LOCKED share of the LP (0-100), from LP evidence;
|
|
4706
|
+
* null = unknown (never 0 for unknown). `lp_burnt_pct` stays burn-only. */
|
|
4707
|
+
lp_secured_pct?: number | null;
|
|
4708
|
+
/** `permanent` = burn and/or permanent locks only; `temporary` = only
|
|
4709
|
+
* time-limited locks; `mixed` = both; null = nothing secured or unknown. */
|
|
4710
|
+
lp_secured_basis?: "permanent" | "temporary" | "mixed" | null;
|
|
4711
|
+
/** Earliest end of a counted TEMPORARY LP lock (ISO); null when none.
|
|
4712
|
+
* Permanent locks have no date. */
|
|
4713
|
+
lp_locked_until?: string | null;
|
|
4597
4714
|
/** Token-SUPPLY burn observed (not LP evidence); null = unknown. */
|
|
4598
4715
|
token_supply_burn_detected?: boolean | null;
|
|
4599
4716
|
}
|
|
@@ -4645,6 +4762,11 @@ export interface AlmostBondedToken {
|
|
|
4645
4762
|
mint: string;
|
|
4646
4763
|
symbol: string | null;
|
|
4647
4764
|
name: string | null;
|
|
4765
|
+
/** Launch venue: pump.fun curve or bonk/LetsBonk (Raydium LaunchLab). */
|
|
4766
|
+
launchpad?: "pumpfun" | "launchlab";
|
|
4767
|
+
/** 2026-10: where `launchpad` came from: `primary_dex`, or the token's single
|
|
4768
|
+
* curve pool in `token_pools` when primary_dex is unset. */
|
|
4769
|
+
venue_source?: "primary_dex" | "token_pools";
|
|
4648
4770
|
/** Bonding-curve progress %, from on-chain real_token_reserves depletion. */
|
|
4649
4771
|
progress_pct: number | null;
|
|
4650
4772
|
/** Δprogress per minute; null until a 5m-ago snapshot exists. */
|
|
@@ -4872,6 +4994,17 @@ export interface ToolsSearchResponse {
|
|
|
4872
4994
|
_rid?: string;
|
|
4873
4995
|
}
|
|
4874
4996
|
export interface StreamToken {
|
|
4997
|
+
/** Only present when ShredPrism is active and the subscriber is ULTRA/BUSINESS/ENTERPRISE. */
|
|
4998
|
+
early_ws_url?: string;
|
|
4999
|
+
early_stream?: {
|
|
5000
|
+
channels: "early:deploys"[];
|
|
5001
|
+
subscribe_example: {
|
|
5002
|
+
type: "subscribe";
|
|
5003
|
+
channels: "early:deploys"[];
|
|
5004
|
+
};
|
|
5005
|
+
execution_status: "unknown";
|
|
5006
|
+
note: string;
|
|
5007
|
+
};
|
|
4875
5008
|
token: string;
|
|
4876
5009
|
/** Always `null` since 2026-08-27 — stream tokens never expire. Kept for wire compatibility; do not schedule refreshes on it. */
|
|
4877
5010
|
expires_at: string | null;
|
|
@@ -5404,9 +5537,23 @@ export interface WalletFundingResponse {
|
|
|
5404
5537
|
observed: boolean;
|
|
5405
5538
|
[key: string]: unknown;
|
|
5406
5539
|
};
|
|
5540
|
+
/** 2026-10: what the funding collector can see for THIS address.
|
|
5541
|
+
* `not_tracked` = no evidence is collected for it at all. */
|
|
5542
|
+
wallet_coverage?: WalletFundingCoverage;
|
|
5407
5543
|
disclaimer: string;
|
|
5408
5544
|
_rid?: string;
|
|
5409
5545
|
}
|
|
5546
|
+
/** Per-address funding collector coverage (`wallet_coverage`). */
|
|
5547
|
+
export interface WalletFundingCoverage {
|
|
5548
|
+
/** `internal_transfers_not_visible` only occurs on Robinhood Chain. */
|
|
5549
|
+
state: "tracked" | "not_tracked" | "internal_transfers_not_visible";
|
|
5550
|
+
currently_tracked: boolean;
|
|
5551
|
+
ever_tracked: boolean;
|
|
5552
|
+
/** Robinhood Chain only; always null on Solana. */
|
|
5553
|
+
address_kind: "eoa" | "eoa_7702" | "contract" | "unknown" | null;
|
|
5554
|
+
/** Solana: `spl_token_transfers_not_visible`. */
|
|
5555
|
+
limitations: Array<"spl_token_transfers_not_visible" | "internal_eth_transfers_not_visible" | "erc20_only_eth_weth_usdg_classified_as_funding">;
|
|
5556
|
+
}
|
|
5410
5557
|
export interface MadeOnSolConfig {
|
|
5411
5558
|
/**
|
|
5412
5559
|
* MadeOnSol API key (starts with `msk_`).
|
|
@@ -6086,7 +6233,24 @@ declare class WalletTrackerClient {
|
|
|
6086
6233
|
*/
|
|
6087
6234
|
summary(params?: WalletTrackerSummaryParams): Promise<WalletTrackerSummaryResponse>;
|
|
6088
6235
|
}
|
|
6236
|
+
/** Encoded requests, not execution measurements. Missing resource bits stay null. */
|
|
6237
|
+
export interface EarlyTransactionConfig {
|
|
6238
|
+
config_mask: number;
|
|
6239
|
+
priority_fee_lamports: string | null;
|
|
6240
|
+
compute_unit_limit: number | null;
|
|
6241
|
+
loaded_accounts_data_size_limit: number | null;
|
|
6242
|
+
heap_size: number | null;
|
|
6243
|
+
}
|
|
6089
6244
|
export interface SniperDeploy {
|
|
6245
|
+
/** Deduplicate by event_id; execution remains unknown until separately resolved. */
|
|
6246
|
+
event_id?: string;
|
|
6247
|
+
source?: "shredprism" | "deshred";
|
|
6248
|
+
outer_instruction_index?: number | null;
|
|
6249
|
+
observation_stage?: "observed";
|
|
6250
|
+
execution_status?: "unknown" | "succeeded" | "failed" | "unresolved";
|
|
6251
|
+
transaction_version?: "legacy" | 0 | 1 | null;
|
|
6252
|
+
transaction_config?: EarlyTransactionConfig | null;
|
|
6253
|
+
fee_payer?: string | null;
|
|
6090
6254
|
mint: string;
|
|
6091
6255
|
name: string | null;
|
|
6092
6256
|
symbol: string | null;
|
|
@@ -6107,7 +6271,7 @@ export interface SniperDeploy {
|
|
|
6107
6271
|
deployer_runner_rate?: number | null;
|
|
6108
6272
|
/** Confidence denominator; gate on >=3. */
|
|
6109
6273
|
deployer_labeled_tokens?: number | null;
|
|
6110
|
-
/**
|
|
6274
|
+
/** Null until separate chain evidence is available; observation is not execution. */
|
|
6111
6275
|
confirmed_on_chain: boolean | null;
|
|
6112
6276
|
confirmed_at: string | null;
|
|
6113
6277
|
/** v2.20 — slot-window snipe rollup for this deploy (slots [-1..+3]). `null`
|
|
@@ -6167,7 +6331,7 @@ export interface SniperWatchlistRemoveResponse {
|
|
|
6167
6331
|
removed: string;
|
|
6168
6332
|
}
|
|
6169
6333
|
/**
|
|
6170
|
-
*
|
|
6334
|
+
* Early deploy observations. ULTRA/BUSINESS/ENTERPRISE; no guaranteed timing lead.
|
|
6171
6335
|
* Live alerts flow via webhook (`sniper:deploy`), the `sniper:deploys` WebSocket
|
|
6172
6336
|
* channel; these methods are for catch-up,
|
|
6173
6337
|
* backtesting, and managing the ULTRA custom watchlist.
|
|
@@ -6179,11 +6343,11 @@ declare class SniperClient {
|
|
|
6179
6343
|
private readonly _baseUrl;
|
|
6180
6344
|
constructor(_get: <T>(url: string) => Promise<T>, _post: <T>(url: string, body?: unknown) => Promise<T>, _delete: <T>(url: string) => Promise<T>, _baseUrl: string);
|
|
6181
6345
|
/**
|
|
6182
|
-
* Newest-first
|
|
6346
|
+
* Newest-first early deploy feed. ULTRA/BUSINESS/ENTERPRISE only.
|
|
6183
6347
|
* Pass `watchlist: true` (ULTRA) to narrow to your custom deployer watchlist.
|
|
6184
6348
|
*/
|
|
6185
6349
|
recent(params?: SniperRecentParams): Promise<SniperRecentResponse>;
|
|
6186
|
-
/**
|
|
6350
|
+
/** Early deploys filtered to a single deployer wallet. ULTRA+ only. */
|
|
6187
6351
|
byDeployer(wallet: string, params?: {
|
|
6188
6352
|
limit?: number;
|
|
6189
6353
|
}): Promise<SniperByDeployerResponse>;
|
|
@@ -6534,6 +6698,16 @@ export interface CopyTradeSignal {
|
|
|
6534
6698
|
market_cap_usd?: number | null;
|
|
6535
6699
|
/** Current last-trade price (USD). */
|
|
6536
6700
|
last_price_usd?: number | null;
|
|
6701
|
+
/** Copy-trade identity v2: the independent action this signal copies (null on
|
|
6702
|
+
* `identity_version` 1 rows). Several signals can share one `tx_signature`:
|
|
6703
|
+
* dedupe on `id` or `economic_action_id`, never on `tx_signature`. */
|
|
6704
|
+
economic_action_id?: string | null;
|
|
6705
|
+
/** Copy-trade identity v2: the followed wallet that performed the action. */
|
|
6706
|
+
source_actor?: string | null;
|
|
6707
|
+
/** Copy-trade identity v2: other followed wallets in the same action. */
|
|
6708
|
+
co_actors?: string[];
|
|
6709
|
+
/** 1 = one signal per (rule, tx); 2 = one signal per (rule, economic action). */
|
|
6710
|
+
identity_version?: 1 | 2;
|
|
6537
6711
|
}
|
|
6538
6712
|
export interface CopyTradeSignalsParams {
|
|
6539
6713
|
subscription_id?: number;
|
|
@@ -6695,7 +6869,7 @@ export declare class MadeOnSol {
|
|
|
6695
6869
|
readonly firstTouchSubscriptions: FirstTouchSubscriptionsClient;
|
|
6696
6870
|
/** Price alerts CRUD — PRO/ULTRA. Sub-second dip/recovery detection. */
|
|
6697
6871
|
readonly priceAlerts: PriceAlertsClient;
|
|
6698
|
-
/**
|
|
6872
|
+
/** Early deploy observations + custom watchlist — ULTRA/BUSINESS/ENTERPRISE. */
|
|
6699
6873
|
readonly sniper: SniperClient;
|
|
6700
6874
|
/** Copy-trade rules + fired signals — PRO/ULTRA. */
|
|
6701
6875
|
readonly copytrade: CopyTradeClient;
|