solana-agent-kit-plugin-madeonsol 1.1.1 → 1.2.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 CHANGED
@@ -164,6 +164,7 @@ Free tier returns the full REST response shape on every endpoint — real wallet
164
164
  | Platform | Package |
165
165
  |---|---|
166
166
  | TypeScript SDK | [`madeonsol`](https://www.npmjs.com/package/madeonsol) on npm |
167
+ | Rust SDK | [`madeonsol`](https://crates.io/crates/madeonsol) on crates.io |
167
168
  | Python (LangChain, CrewAI) | [`madeonsol-x402`](https://pypi.org/project/madeonsol-x402/) on PyPI |
168
169
  | MCP Server (Claude, Cursor) | [`mcp-server-madeonsol`](https://www.npmjs.com/package/mcp-server-madeonsol) |
169
170
  | ElizaOS | [`@madeonsol/plugin-madeonsol`](https://www.npmjs.com/package/@madeonsol/plugin-madeonsol) |
@@ -22,12 +22,12 @@ export declare const kolAlertsRecentAction: {
22
22
  limit: number;
23
23
  window: "24h" | "1h" | "6h" | "5m" | "15m";
24
24
  types?: ("consensus_cluster" | "fresh_token_kol_buy" | "heating_up")[] | undefined;
25
- min_severity?: "low" | "medium" | "high" | undefined;
25
+ min_severity?: "high" | "medium" | "low" | undefined;
26
26
  }, {
27
27
  limit?: number | undefined;
28
28
  types?: ("consensus_cluster" | "fresh_token_kol_buy" | "heating_up")[] | undefined;
29
29
  window?: "24h" | "1h" | "6h" | "5m" | "15m" | undefined;
30
- min_severity?: "low" | "medium" | "high" | undefined;
30
+ min_severity?: "high" | "medium" | "low" | undefined;
31
31
  }>;
32
32
  handler: (agent: unknown, input: {
33
33
  window?: string;
package/dist/index.d.ts CHANGED
@@ -543,12 +543,12 @@ declare const MadeOnSolPlugin: {
543
543
  limit: number;
544
544
  window: "24h" | "1h" | "6h" | "5m" | "15m";
545
545
  types?: ("consensus_cluster" | "fresh_token_kol_buy" | "heating_up")[] | undefined;
546
- min_severity?: "low" | "medium" | "high" | undefined;
546
+ min_severity?: "high" | "medium" | "low" | undefined;
547
547
  }, {
548
548
  limit?: number | undefined;
549
549
  types?: ("consensus_cluster" | "fresh_token_kol_buy" | "heating_up")[] | undefined;
550
550
  window?: "24h" | "1h" | "6h" | "5m" | "15m" | undefined;
551
- min_severity?: "low" | "medium" | "high" | undefined;
551
+ min_severity?: "high" | "medium" | "low" | undefined;
552
552
  }>;
553
553
  handler: (agent: unknown, input: {
554
554
  window?: string;
@@ -20,8 +20,14 @@ export declare function initAuth(agent: Agent): Promise<void>;
20
20
  export declare function initPaidFetch(agent: Agent): Promise<typeof fetch>;
21
21
  export declare function kolFeed(agent: Agent, params?: {
22
22
  limit?: number;
23
+ before?: string;
23
24
  action?: string;
24
25
  kol?: string;
26
+ min_sol?: number;
27
+ token_age_max_min?: number;
28
+ exclude_sells?: boolean;
29
+ min_kol_winrate?: number;
30
+ strategy?: string;
25
31
  }): Promise<any>;
26
32
  export declare function kolCoordination(agent: Agent, params?: {
27
33
  period?: string;
@@ -48,8 +54,12 @@ export declare function kolLeaderboard(agent: Agent, params?: {
48
54
  export declare function deployerAlerts(agent: Agent, params?: {
49
55
  limit?: number;
50
56
  since?: string;
57
+ before?: string;
51
58
  offset?: number;
52
59
  tier?: "elite" | "good" | "moderate" | "rising" | "cold";
60
+ alert_type?: string;
61
+ priority?: "high" | "medium" | "low";
62
+ min_kol_buys?: number;
53
63
  }): Promise<any>;
54
64
  export declare function kolPairs(agent: Agent, params?: {
55
65
  period?: string;
@@ -139,6 +149,18 @@ export declare function tokenCapTable(agent: Agent, params: {
139
149
  export declare function tokenBuyerQuality(agent: Agent, params: {
140
150
  mint: string;
141
151
  }): Promise<any>;
152
+ /** Bulk buyer-quality scoring for up to 50 mints. Shares the 5-min LRU cache with the single-mint endpoint. */
153
+ export declare function tokenBuyerQualityBatch(agent: Agent, params: {
154
+ mints: string[];
155
+ }): Promise<any>;
156
+ /** Comprehensive per-mint snapshot: price, MC, 24h volume, deployer reputation, KOL activity, age, blacklist status. */
157
+ export declare function tokenGet(agent: Agent, params: {
158
+ mint: string;
159
+ }): Promise<any>;
160
+ /** Bulk token snapshot for up to 50 mints — same per-mint shape as tokenGet(). 10-20× cheaper than N sequential calls. */
161
+ export declare function tokenBatch(agent: Agent, params: {
162
+ mints: string[];
163
+ }): Promise<any>;
142
164
  export declare function copyTradeList(agent: Agent): Promise<any>;
143
165
  export declare function copyTradeCreate(agent: Agent, params: {
144
166
  name: string;
@@ -221,17 +221,30 @@ export async function alphaLeaderboard(agent, params = {}) {
221
221
  return restQuery(agent, "GET", `/alpha/leaderboard${query}`);
222
222
  }
223
223
  export async function alphaWallet(agent, params) {
224
- return restQuery(agent, "GET", `/alpha/wallet/${encodeURIComponent(params.wallet)}`);
224
+ return restQuery(agent, "GET", `/alpha/${encodeURIComponent(params.wallet)}`);
225
225
  }
226
226
  export async function alphaLinked(agent, params) {
227
- return restQuery(agent, "GET", `/alpha/wallet/${encodeURIComponent(params.wallet)}/linked`);
227
+ return restQuery(agent, "GET", `/alpha/${encodeURIComponent(params.wallet)}/linked`);
228
228
  }
229
229
  // ── Token Quality ──
230
230
  export async function tokenCapTable(agent, params) {
231
- return restQuery(agent, "GET", `/token/${encodeURIComponent(params.mint)}/cap-table`);
231
+ return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/cap-table`);
232
232
  }
233
233
  export async function tokenBuyerQuality(agent, params) {
234
- return restQuery(agent, "GET", `/token/${encodeURIComponent(params.mint)}/buyer-quality`);
234
+ return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/buyer-quality`);
235
+ }
236
+ /** Bulk buyer-quality scoring for up to 50 mints. Shares the 5-min LRU cache with the single-mint endpoint. */
237
+ export async function tokenBuyerQualityBatch(agent, params) {
238
+ return restQuery(agent, "POST", "/tokens/batch/buyer-quality", { mints: params.mints });
239
+ }
240
+ // ── Token Intelligence (/token/{mint}) ──
241
+ /** Comprehensive per-mint snapshot: price, MC, 24h volume, deployer reputation, KOL activity, age, blacklist status. */
242
+ export async function tokenGet(agent, params) {
243
+ return restQuery(agent, "GET", `/token/${encodeURIComponent(params.mint)}`);
244
+ }
245
+ /** Bulk token snapshot for up to 50 mints — same per-mint shape as tokenGet(). 10-20× cheaper than N sequential calls. */
246
+ export async function tokenBatch(agent, params) {
247
+ return restQuery(agent, "POST", "/token/batch", { mints: params.mints });
235
248
  }
236
249
  // ── Copy-Trade Rules (PRO/ULTRA) ──
237
250
  export async function copyTradeList(agent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solana-agent-kit-plugin-madeonsol",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Solana Agent Kit plugin for MadeOnSol — KOL intelligence and deployer analytics via x402 micropayments",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",