@madeonsol/plugin-madeonsol 1.12.1 → 1.14.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 +23 -1
- package/dist/actions/almost-bonded.d.ts +7 -0
- package/dist/actions/almost-bonded.js +69 -0
- package/dist/actions/token-flow.d.ts +2 -0
- package/dist/actions/token-flow.js +57 -0
- package/dist/client.d.ts +50 -0
- package/dist/client.js +27 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,10 @@ ElizaOS plugin for [MadeOnSol](https://madeonsol.com) — Solana KOL trading int
|
|
|
11
11
|
|
|
12
12
|
> Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, surface deshred deploy signals ~500ms before on-chain confirmation, detect multi-KOL coordination, and stream every DEX trade. Free tier: 200 requests/day at [madeonsol.com/pricing](https://madeonsol.com/pricing) — no credit card required.
|
|
13
13
|
|
|
14
|
+
> **New in 1.14.0** — **Almost-bonded discovery + trending sorts.** New action `MADEONSOL_ALMOST_BONDED` + `client.getAlmostBonded(params)` — pre-bond pump.fun tokens near graduation, ranked by velocity (Δprogress/min): "95% and accelerating" beats "92% stalled". Each token carries `progress_pct`, `velocity_pct_per_min`, `eta_minutes`, `stalled`, `real_sol_reserves`, `market_cap_usd`, `liquidity_usd`, `authorities_revoked`, `deployer_tier`, and `age_minutes`. Params: `min_progress`, `max_progress`, `min_velocity_pct_per_min`, `max_age_minutes`, `deployer_tier`, `authority_revoked`, `min_liq`, `sort` (velocity_desc / progress_desc / eta_asc), `limit`. PRO/ULTRA only. Plus `client.getTokensList({ sort })` gains four momentum sorts — `mc_change_5m_desc`, `mc_change_1h_desc`, `volume_1h_desc`, and `trending` (composite recent-volume × positive-momentum rank).
|
|
15
|
+
>
|
|
16
|
+
> **New in 1.13.0** — **Token net flow.** New action `GET_TOKEN_FLOW` + `client.getTokenFlow(mint, { window })` — net buy/sell flow over a rolling window (`1h` default, or `24h`): `unique_wallets`, `unique_buyers`, `unique_sellers`, `buy_count`, `sell_count`, `total_trades`, `buy_sol`, `sell_sol`, `net_sol`, `trades_per_wallet`. PRO+. Deployer alerts now also surface `deployer_sol_balance` — the deployer wallet's SOL balance at alert time (`null` for historical rows).
|
|
17
|
+
>
|
|
14
18
|
> **New in 1.12.0** — **Token OHLCV candles.** New action `GET_TOKEN_CANDLES` + `client.getTokenCandles(mint, { tf, limit, from, to })` — historical price candles (1m/5m/15m/1h/4h/1d) aggregated from the on-chain trade firehose. Each candle has `t/open/high/low/close/volume_usd/trades/market_cap_usd`. PRO returns OHLCV for the last 30 days; ULTRA adds buy/sell volume + count splits, net flow, MEV volume, open/close liquidity, high/low MC, and full history. PRO/ULTRA only.
|
|
15
19
|
>
|
|
16
20
|
> **New in 1.11.0** — **Token risk score.** New action `GET_TOKEN_RISK` + `client.getTokenRisk(mint)` — a transparent 0–100 rug-risk/safety score (higher = riskier) with a `band` (safe/caution/danger), an explainable `factors[]` array, and the raw `inputs` (mint/freeze authority, liquidity, liq-to-MC ratio, transfer fee, launch cohort, deployer bond rate, KOL signal, blacklist). PRO/ULTRA only.
|
|
@@ -61,13 +65,15 @@ Gives your ElizaOS agent access to MadeOnSol's Solana intelligence API.
|
|
|
61
65
|
| `WALLET_TRACKER_WATCHLIST` | List your tracked wallets and remaining capacity |
|
|
62
66
|
| `WALLET_TRACKER_TRADES` | Recent swaps and transfers from your watchlist |
|
|
63
67
|
| `GET_MADEONSOL_ACCOUNT` | Your tier, daily quota, burst limit, and slot usage *(new in 1.7.0)* |
|
|
64
|
-
| `LIST_MADEONSOL_TOKENS` | Scan tokens by MC, liquidity, 1h momentum, primary DEX *(new in 1.7.0)* |
|
|
68
|
+
| `LIST_MADEONSOL_TOKENS` | Scan tokens by MC, liquidity, 1h momentum, primary DEX, plus momentum sorts (`mc_change_5m_desc`/`mc_change_1h_desc`/`volume_1h_desc`/`trending`) *(new in 1.7.0)* |
|
|
69
|
+
| `MADEONSOL_ALMOST_BONDED` | **New 1.14** · Pre-bond pump.fun tokens near graduation, ranked by velocity — `progress_pct`, `velocity_pct_per_min`, `eta_minutes`, `stalled`, `deployer_tier` (PRO+) |
|
|
65
70
|
| `WALLET_STATS` | **New 1.8** · Stats + cross-product flags (is_kol, is_alpha_tracked + bot_confidence, is_deployer) for any wallet (PRO+) |
|
|
66
71
|
| `WALLET_PNL` | **New 1.8** · Full FIFO PnL — realized + unrealized, profit factor, drawdown, hold times, top winners (PRO+) |
|
|
67
72
|
| `WALLET_POSITIONS` | **New 1.8** · Open positions with live unrealized SOL from market-cap tracker (PRO+) |
|
|
68
73
|
| `WALLET_TRADES` | **New 1.8** · Recent trades for any wallet, filtered by action (PRO+) |
|
|
69
74
|
| `GET_TOKEN_RISK` | **New 1.11** · Transparent 0–100 rug-risk/safety score with band + explainable factors (PRO+) |
|
|
70
75
|
| `GET_TOKEN_CANDLES` | **New 1.12** · Historical OHLCV candles (1m–1d). PRO=OHLCV 30d; ULTRA=+net flow, liquidity delta, full history (PRO+) |
|
|
76
|
+
| `GET_TOKEN_FLOW` | **New 1.13** · Net buy/sell flow over a 1h/24h window — unique wallets/buyers/sellers, buy/sell counts, buy/sell/net SOL, trades-per-wallet (PRO+) |
|
|
71
77
|
|
|
72
78
|
## Install
|
|
73
79
|
|
|
@@ -182,6 +188,22 @@ Also available: `priceAlertsList()`, `priceAlertsGet(id)`, `priceAlertsUpdate(id
|
|
|
182
188
|
| `PEAK_HISTORY` | Historical peak-density windows for a token (PRO+) |
|
|
183
189
|
| `COORDINATION_HISTORY` | Global coordination event log (PRO+) |
|
|
184
190
|
|
|
191
|
+
### Token net flow *(new in 1.13)*
|
|
192
|
+
|
|
193
|
+
`GET_TOKEN_FLOW` (or `client.getTokenFlow(mint, { window })`) returns net buy/sell flow over a rolling `1h` (default) or `24h` window. PRO+.
|
|
194
|
+
|
|
195
|
+
```ts
|
|
196
|
+
import { MadeOnSolClient } from "@madeonsol/plugin-madeonsol";
|
|
197
|
+
const client = new MadeOnSolClient({ apiKey: process.env.MADEONSOL_API_KEY });
|
|
198
|
+
|
|
199
|
+
const { data } = await client.getTokenFlow("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", { window: "24h" });
|
|
200
|
+
// { mint, window, from, unique_wallets, unique_buyers, unique_sellers,
|
|
201
|
+
// buy_count, sell_count, total_trades, buy_sol, sell_sol, net_sol, trades_per_wallet }
|
|
202
|
+
console.log(`Net ${data.net_sol} SOL across ${data.unique_wallets} wallets`);
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
> Deployer alerts (`GET_DEPLOYER_ALERTS` / `client.getDeployerAlerts()`) now include `deployer_sol_balance` — the deployer wallet's SOL balance at alert time (`null` for historical rows).
|
|
206
|
+
|
|
185
207
|
### Wallet derived stats *(new in 1.9)*
|
|
186
208
|
|
|
187
209
|
`WALLET_STATS` now returns a `stats` object with derived fields: `win_rate` (0-1), `roi`, `verdict` ("strong" | "profitable" | "neutral" | "losing"), and `biggest_miss` (token with the highest post-exit gain the wallet missed).
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Action } from "@elizaos/core";
|
|
2
|
+
/**
|
|
3
|
+
* Scan pre-bond pump.fun tokens approaching graduation, ranked by velocity.
|
|
4
|
+
* Heuristics pulled from the user prompt: "fast"/"accelerating" → sort by
|
|
5
|
+
* velocity, "soon"/"closest" → sort by ETA, "elite deployer" → deployer_tier.
|
|
6
|
+
*/
|
|
7
|
+
export declare const almostBondedAction: Action;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { MadeOnSolClient } from "../client.js";
|
|
2
|
+
import { MADEONSOL_CLIENT_KEY } from "../index.js";
|
|
3
|
+
function getClient(runtime) {
|
|
4
|
+
return runtime[MADEONSOL_CLIENT_KEY] ?? new MadeOnSolClient();
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Scan pre-bond pump.fun tokens approaching graduation, ranked by velocity.
|
|
8
|
+
* Heuristics pulled from the user prompt: "fast"/"accelerating" → sort by
|
|
9
|
+
* velocity, "soon"/"closest" → sort by ETA, "elite deployer" → deployer_tier.
|
|
10
|
+
*/
|
|
11
|
+
export const almostBondedAction = {
|
|
12
|
+
name: "MADEONSOL_ALMOST_BONDED",
|
|
13
|
+
description: "Find pre-bond pump.fun tokens near graduation, ranked by velocity (Δprogress/min). Returns mint, symbol, bonding progress %, velocity, ETA-to-bond, stalled flag, and deployer tier. PRO/ULTRA only.",
|
|
14
|
+
similes: [
|
|
15
|
+
"almost bonded",
|
|
16
|
+
"about to graduate",
|
|
17
|
+
"near graduation",
|
|
18
|
+
"tokens about to bond",
|
|
19
|
+
"almost graduated",
|
|
20
|
+
"pre-bond tokens",
|
|
21
|
+
],
|
|
22
|
+
validate: async (_runtime, message) => {
|
|
23
|
+
const text = (message.content?.text || "").toLowerCase();
|
|
24
|
+
return /\b(almost bonded|about to graduate|near graduation|about to bond|pre-?bond|almost graduated)\b/.test(text);
|
|
25
|
+
},
|
|
26
|
+
handler: async (runtime, message, _state, _options, callback) => {
|
|
27
|
+
const client = getClient(runtime);
|
|
28
|
+
const text = (message.content?.text || "").toLowerCase();
|
|
29
|
+
const params = { limit: "10" };
|
|
30
|
+
if (/soon|closest|fastest to bond|eta/.test(text))
|
|
31
|
+
params.sort = "eta_asc";
|
|
32
|
+
else if (/accelerat|fast|velocity|momentum/.test(text))
|
|
33
|
+
params.sort = "velocity_desc";
|
|
34
|
+
if (/elite/.test(text))
|
|
35
|
+
params.deployer_tier = "elite";
|
|
36
|
+
const result = await client.getAlmostBonded(params);
|
|
37
|
+
if (result.error) {
|
|
38
|
+
callback?.({ text: result.status === 402
|
|
39
|
+
? "Authentication required. Set MADEONSOL_API_KEY — free at https://madeonsol.com/pricing — or SVM_PRIVATE_KEY."
|
|
40
|
+
: `Error: ${result.error}` });
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
const data = result.data;
|
|
44
|
+
const tokens = (data.tokens || []).slice(0, 10);
|
|
45
|
+
const lines = tokens.map((t, i) => {
|
|
46
|
+
const label = t.symbol || t.name || "?";
|
|
47
|
+
const prog = t.progress_pct != null && isFinite(t.progress_pct) ? `${t.progress_pct.toFixed(1)}%` : "?";
|
|
48
|
+
const vel = t.velocity_pct_per_min != null && isFinite(t.velocity_pct_per_min)
|
|
49
|
+
? ` @ ${t.velocity_pct_per_min >= 0 ? "+" : ""}${t.velocity_pct_per_min.toFixed(2)}%/min`
|
|
50
|
+
: "";
|
|
51
|
+
const eta = t.eta_minutes != null && isFinite(t.eta_minutes) ? ` (ETA ~${t.eta_minutes}m)` : "";
|
|
52
|
+
const tier = t.deployer_tier ? ` [${t.deployer_tier}]` : "";
|
|
53
|
+
return `${i + 1}. ${label} ${t.mint.slice(0, 8)}… — ${prog} bonded${vel}${eta}${tier}`;
|
|
54
|
+
});
|
|
55
|
+
callback?.({
|
|
56
|
+
text: tokens.length
|
|
57
|
+
? `Almost-bonded pump.fun tokens:\n${lines.join("\n")}`
|
|
58
|
+
: "No pre-bond tokens matched those filters.",
|
|
59
|
+
content: data,
|
|
60
|
+
});
|
|
61
|
+
return undefined;
|
|
62
|
+
},
|
|
63
|
+
examples: [
|
|
64
|
+
[
|
|
65
|
+
{ name: "user1", content: { text: "Show me pump.fun tokens about to graduate, fastest first" } },
|
|
66
|
+
{ name: "assistant", content: { text: "Here are the almost-bonded tokens ranked by velocity..." } },
|
|
67
|
+
],
|
|
68
|
+
],
|
|
69
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MadeOnSolClient } from "../client.js";
|
|
2
|
+
import { MADEONSOL_CLIENT_KEY } from "../index.js";
|
|
3
|
+
function getClient(runtime) {
|
|
4
|
+
return runtime[MADEONSOL_CLIENT_KEY] ?? new MadeOnSolClient();
|
|
5
|
+
}
|
|
6
|
+
const MINT_RE = /\b([1-9A-HJ-NP-Za-km-z]{32,44})\b/;
|
|
7
|
+
const WINDOW_RE = /\b(1h|24h)\b/i;
|
|
8
|
+
export const tokenFlowAction = {
|
|
9
|
+
name: "GET_TOKEN_FLOW",
|
|
10
|
+
description: "Get net buy/sell flow for a Solana token over a rolling window (1h or 24h) from MadeOnSol. Returns unique wallet/buyer/seller counts, buy/sell trade counts, buy/sell/net SOL, and trades-per-wallet. PRO+.",
|
|
11
|
+
similes: [
|
|
12
|
+
"token flow",
|
|
13
|
+
"net flow",
|
|
14
|
+
"buy sell flow",
|
|
15
|
+
"buy pressure",
|
|
16
|
+
"sell pressure",
|
|
17
|
+
"net sol flow",
|
|
18
|
+
"money flow",
|
|
19
|
+
],
|
|
20
|
+
validate: async (_runtime, message) => {
|
|
21
|
+
const text = message.content?.text || "";
|
|
22
|
+
return /\b(flow|net buy|net sell|buy pressure|sell pressure|money flow)\b/i.test(text) && MINT_RE.test(text);
|
|
23
|
+
},
|
|
24
|
+
handler: async (runtime, message, _state, _options, callback) => {
|
|
25
|
+
const client = getClient(runtime);
|
|
26
|
+
const text = message.content?.text || "";
|
|
27
|
+
const mint = text.match(MINT_RE)?.[1];
|
|
28
|
+
if (!mint) {
|
|
29
|
+
callback?.({ text: "Please include a token mint address." });
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
const window = text.match(WINDOW_RE)?.[1]?.toLowerCase();
|
|
33
|
+
const result = await client.getTokenFlow(mint, window ? { window } : undefined);
|
|
34
|
+
if (result.error) {
|
|
35
|
+
callback?.({ text: result.status === 402
|
|
36
|
+
? "Authentication required. Set MADEONSOL_API_KEY — free at https://madeonsol.com/pricing — or SVM_PRIVATE_KEY."
|
|
37
|
+
: `Error: ${result.error}` });
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
const data = result.data;
|
|
41
|
+
const net = data.net_sol >= 0 ? `+${data.net_sol.toFixed(2)}` : data.net_sol.toFixed(2);
|
|
42
|
+
const summary = [
|
|
43
|
+
`Net flow (${data.window}) for ${mint.slice(0, 8)}…`,
|
|
44
|
+
`• Net SOL: ${net} (buy ${data.buy_sol.toFixed(2)} / sell ${data.sell_sol.toFixed(2)})`,
|
|
45
|
+
`• Trades: ${data.total_trades} (${data.buy_count} buys / ${data.sell_count} sells)`,
|
|
46
|
+
`• Wallets: ${data.unique_wallets} (${data.unique_buyers} buyers / ${data.unique_sellers} sellers, ${data.trades_per_wallet.toFixed(1)}/wallet)`,
|
|
47
|
+
].join("\n");
|
|
48
|
+
callback?.({ text: summary, content: { ...data } });
|
|
49
|
+
return undefined;
|
|
50
|
+
},
|
|
51
|
+
examples: [
|
|
52
|
+
[
|
|
53
|
+
{ name: "user1", content: { text: "What's the 24h net flow for 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" } },
|
|
54
|
+
{ name: "assistant", content: { text: "Here's the buy/sell flow for that token..." } },
|
|
55
|
+
],
|
|
56
|
+
],
|
|
57
|
+
};
|
package/dist/client.d.ts
CHANGED
|
@@ -18,6 +18,22 @@ export interface RateLimitInfo {
|
|
|
18
18
|
reset?: string;
|
|
19
19
|
requestId?: string;
|
|
20
20
|
}
|
|
21
|
+
/** Net buy/sell flow for a token over a rolling window. Returned by `getTokenFlow`. */
|
|
22
|
+
export interface TokenFlow {
|
|
23
|
+
mint: string;
|
|
24
|
+
window: "1h" | "24h";
|
|
25
|
+
from: number;
|
|
26
|
+
unique_wallets: number;
|
|
27
|
+
unique_buyers: number;
|
|
28
|
+
unique_sellers: number;
|
|
29
|
+
buy_count: number;
|
|
30
|
+
sell_count: number;
|
|
31
|
+
total_trades: number;
|
|
32
|
+
buy_sol: number;
|
|
33
|
+
sell_sol: number;
|
|
34
|
+
net_sol: number;
|
|
35
|
+
trades_per_wallet: number;
|
|
36
|
+
}
|
|
21
37
|
export declare class MadeOnSolClient {
|
|
22
38
|
private baseUrl;
|
|
23
39
|
private fetchFn;
|
|
@@ -296,6 +312,18 @@ export declare class MadeOnSolClient {
|
|
|
296
312
|
error?: string;
|
|
297
313
|
status: number;
|
|
298
314
|
}>;
|
|
315
|
+
/**
|
|
316
|
+
* Net buy/sell flow for a token over a rolling window (1h or 24h). Returns unique
|
|
317
|
+
* wallet/buyer/seller counts, buy/sell trade counts, buy/sell/net SOL, and trades-per-wallet.
|
|
318
|
+
* Default window is "1h". PRO+.
|
|
319
|
+
*/
|
|
320
|
+
getTokenFlow(mint: string, params?: {
|
|
321
|
+
window?: "1h" | "24h";
|
|
322
|
+
}): Promise<{
|
|
323
|
+
data?: TokenFlow | undefined;
|
|
324
|
+
error?: string;
|
|
325
|
+
status: number;
|
|
326
|
+
}>;
|
|
299
327
|
/** Bulk buyer-quality scoring for up to 50 mints. Shares the single-mint 5-min LRU cache. */
|
|
300
328
|
getTokenBuyerQualityBatch(mints: string[]): Promise<{
|
|
301
329
|
data?: unknown;
|
|
@@ -475,6 +503,28 @@ export declare class MadeOnSolClient {
|
|
|
475
503
|
error?: string;
|
|
476
504
|
status: number;
|
|
477
505
|
}>;
|
|
506
|
+
/**
|
|
507
|
+
* v1.14 — Pre-bond pump.fun tokens approaching graduation, ranked by velocity
|
|
508
|
+
* (Δprogress/min): "95% and accelerating" beats "92% stalled". Each token is
|
|
509
|
+
* enriched with its deployer's reputation tier. `progress_pct` is from on-chain
|
|
510
|
+
* real_token_reserves; `velocity_pct_per_min` is null until a 5m snapshot exists;
|
|
511
|
+
* `eta_minutes` is a linear projection. PRO/ULTRA only.
|
|
512
|
+
*/
|
|
513
|
+
getAlmostBonded(params?: {
|
|
514
|
+
min_progress?: string;
|
|
515
|
+
max_progress?: string;
|
|
516
|
+
min_velocity_pct_per_min?: string;
|
|
517
|
+
max_age_minutes?: string;
|
|
518
|
+
deployer_tier?: string;
|
|
519
|
+
authority_revoked?: string;
|
|
520
|
+
min_liq?: string;
|
|
521
|
+
sort?: string;
|
|
522
|
+
limit?: string;
|
|
523
|
+
}): Promise<{
|
|
524
|
+
data?: unknown;
|
|
525
|
+
error?: string;
|
|
526
|
+
status: number;
|
|
527
|
+
}>;
|
|
478
528
|
copyTradeSignals(params?: {
|
|
479
529
|
rule_id?: string;
|
|
480
530
|
limit?: string;
|
package/dist/client.js
CHANGED
|
@@ -245,6 +245,15 @@ export class MadeOnSolClient {
|
|
|
245
245
|
const query = qs.toString() ? `?${qs.toString()}` : "";
|
|
246
246
|
return this.restRequest("GET", `/tokens/${encodeURIComponent(mint)}/candles${query}`);
|
|
247
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Net buy/sell flow for a token over a rolling window (1h or 24h). Returns unique
|
|
250
|
+
* wallet/buyer/seller counts, buy/sell trade counts, buy/sell/net SOL, and trades-per-wallet.
|
|
251
|
+
* Default window is "1h". PRO+.
|
|
252
|
+
*/
|
|
253
|
+
getTokenFlow(mint, params) {
|
|
254
|
+
const qs = params?.window ? `?window=${params.window}` : "";
|
|
255
|
+
return this.restRequest("GET", `/tokens/${encodeURIComponent(mint)}/flow${qs}`);
|
|
256
|
+
}
|
|
248
257
|
/** Bulk buyer-quality scoring for up to 50 mints. Shares the single-mint 5-min LRU cache. */
|
|
249
258
|
getTokenBuyerQualityBatch(mints) {
|
|
250
259
|
return this.restRequest("POST", "/tokens/batch/buyer-quality", { mints });
|
|
@@ -336,6 +345,24 @@ export class MadeOnSolClient {
|
|
|
336
345
|
const query = qs.toString() ? `?${qs.toString()}` : "";
|
|
337
346
|
return this.restRequest("GET", `/tokens${query}`);
|
|
338
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* v1.14 — Pre-bond pump.fun tokens approaching graduation, ranked by velocity
|
|
350
|
+
* (Δprogress/min): "95% and accelerating" beats "92% stalled". Each token is
|
|
351
|
+
* enriched with its deployer's reputation tier. `progress_pct` is from on-chain
|
|
352
|
+
* real_token_reserves; `velocity_pct_per_min` is null until a 5m snapshot exists;
|
|
353
|
+
* `eta_minutes` is a linear projection. PRO/ULTRA only.
|
|
354
|
+
*/
|
|
355
|
+
getAlmostBonded(params) {
|
|
356
|
+
const qs = new URLSearchParams();
|
|
357
|
+
if (params) {
|
|
358
|
+
for (const [k, v] of Object.entries(params)) {
|
|
359
|
+
if (v !== undefined)
|
|
360
|
+
qs.set(k, v);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
const query = qs.toString() ? `?${qs.toString()}` : "";
|
|
364
|
+
return this.restRequest("GET", `/tokens/almost-bonded${query}`);
|
|
365
|
+
}
|
|
339
366
|
copyTradeSignals(params) {
|
|
340
367
|
const qs = new URLSearchParams();
|
|
341
368
|
if (params)
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ import { kolCompareAction } from "./actions/kol-compare.js";
|
|
|
9
9
|
import { kolAlertsRecentAction } from "./actions/kol-alerts-recent.js";
|
|
10
10
|
import { tokenRiskAction } from "./actions/token-risk.js";
|
|
11
11
|
import { tokenCandlesAction } from "./actions/token-candles.js";
|
|
12
|
+
import { tokenFlowAction } from "./actions/token-flow.js";
|
|
12
13
|
import { meAction } from "./actions/me.js";
|
|
13
14
|
import { tokensListAction } from "./actions/tokens-list.js";
|
|
15
|
+
import { almostBondedAction } from "./actions/almost-bonded.js";
|
|
14
16
|
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
15
17
|
/** Key used to store the initialized client on the runtime */
|
|
16
18
|
export declare const MADEONSOL_CLIENT_KEY = "madeonsol:client";
|
|
@@ -19,6 +21,6 @@ export default madeOnSolPlugin;
|
|
|
19
21
|
export { MadeOnSolClient } from "./client.js";
|
|
20
22
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction };
|
|
21
23
|
export { walletTrackerWatchlistAction, walletTrackerTradesAction };
|
|
22
|
-
export { kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, tokenRiskAction, tokenCandlesAction };
|
|
23
|
-
export { meAction, tokensListAction };
|
|
24
|
+
export { kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, tokenRiskAction, tokenCandlesAction, tokenFlowAction };
|
|
25
|
+
export { meAction, tokensListAction, almostBondedAction };
|
|
24
26
|
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
package/dist/index.js
CHANGED
|
@@ -8,8 +8,10 @@ import { kolCompareAction } from "./actions/kol-compare.js";
|
|
|
8
8
|
import { kolAlertsRecentAction } from "./actions/kol-alerts-recent.js";
|
|
9
9
|
import { tokenRiskAction } from "./actions/token-risk.js";
|
|
10
10
|
import { tokenCandlesAction } from "./actions/token-candles.js";
|
|
11
|
+
import { tokenFlowAction } from "./actions/token-flow.js";
|
|
11
12
|
import { meAction } from "./actions/me.js";
|
|
12
13
|
import { tokensListAction } from "./actions/tokens-list.js";
|
|
14
|
+
import { almostBondedAction } from "./actions/almost-bonded.js";
|
|
13
15
|
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
14
16
|
import { MadeOnSolClient } from "./client.js";
|
|
15
17
|
/** Key used to store the initialized client on the runtime */
|
|
@@ -29,8 +31,10 @@ export const madeOnSolPlugin = {
|
|
|
29
31
|
kolAlertsRecentAction,
|
|
30
32
|
tokenRiskAction,
|
|
31
33
|
tokenCandlesAction,
|
|
34
|
+
tokenFlowAction,
|
|
32
35
|
meAction,
|
|
33
36
|
tokensListAction,
|
|
37
|
+
almostBondedAction,
|
|
34
38
|
walletStatsAction,
|
|
35
39
|
walletPnlAction,
|
|
36
40
|
walletPositionsAction,
|
|
@@ -82,6 +86,6 @@ export default madeOnSolPlugin;
|
|
|
82
86
|
export { MadeOnSolClient } from "./client.js";
|
|
83
87
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction };
|
|
84
88
|
export { walletTrackerWatchlistAction, walletTrackerTradesAction };
|
|
85
|
-
export { kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, tokenRiskAction, tokenCandlesAction };
|
|
86
|
-
export { meAction, tokensListAction };
|
|
89
|
+
export { kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, tokenRiskAction, tokenCandlesAction, tokenFlowAction };
|
|
90
|
+
export { meAction, tokensListAction, almostBondedAction };
|
|
87
91
|
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
package/package.json
CHANGED