solana-agent-kit-plugin-madeonsol 1.16.2 → 1.17.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 +6 -1
- package/dist/actions/wallet.d.ts +42 -0
- package/dist/actions/wallet.js +36 -1
- package/dist/index.d.ts +46 -4
- package/dist/index.js +6 -4
- package/dist/tools/index.d.ts +13 -0
- package/dist/tools/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,8 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
[Solana Agent Kit](https://github.com/sendaifun/solana-agent-kit) plugin for [MadeOnSol](https://madeonsol.com) — Solana KOL intelligence, deployer analytics, bundle-cohort held-% signals, and wallet tracking.
|
|
11
11
|
|
|
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, every endpoint — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
12
|
+
> Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, verify any wallet's CURRENT on-chain holdings straight from its token accounts, surface deshred deploy signals ~500ms before on-chain confirmation, detect multi-KOL coordination, and stream every DEX trade. Free tier: 200 requests/day, every endpoint — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
13
13
|
|
|
14
|
+
> **New in 1.17.0** — **Verified on-chain wallet holdings.** New tool `walletHoldings()` + action `MADEONSOL_WALLET_HOLDINGS_ACTION` — the wallet's CURRENT holdings read straight from chain: its actual SPL + Token-2022 token accounts and SOL balance, each enriched with `price_usd` / `value_usd` / `market_cap_usd` / `name` / `symbol` / `is_bonded`, plus `transfer_delta` (on-chain amount − trade-derived net position — exposes non-swap flows like airdrops, insider funding, wallet-hopping). Distinct from `walletPositions()` (trade-derived FIFO): this is what the wallet *actually* holds right now. Params: `limit` (1–500, default 200), `min_value_usd` (default 0). Returns `{ address, sol_balance, holdings[], summary, verified_at, trade_window_days, cache_hit, ttl_seconds }`. ULTRA only.
|
|
15
|
+
>
|
|
14
16
|
> **New in 1.16.2** — **Per-venue liquidity map + deployer reputation history.** New tool `tokenPools()` + action `MADEONSOL_TOKEN_POOLS_ACTION` — every DEX pool a token trades in (live vs parked), with fragmentation and top-pool share. Returns a `pools[]` list (`pool_address`, `dex`, `quote_mint`, `liquidity_usd`, `last_price_sol`, `last_swap_at`, `amm_id`, `is_active`) and a `summary` (`pool_count`, `active_pool_count`, `dex_count`, `dexes`, `total_liquidity_usd`, `primary_pool`, `primary_dex`, `top_pool_share_pct`). New tool `deployerHistory()` + action `MADEONSOL_DEPLOYER_HISTORY_ACTION` — a deployer's daily reputation time-series to backtest "was this deployer elite when it launched token X?" without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`, `avg_peak_mc`, `best_token_peak_mc` (`limit` = 1–365 days, default 90). Both PRO/ULTRA only.
|
|
15
17
|
>
|
|
16
18
|
> **New in 1.16.0** — **Bundle-cohort holdings.** New tool `tokenBundle()` + action `MADEONSOL_TOKEN_BUNDLE_ACTION` — which same-slot "bundle" wallets (≥3 buying in one slot) bought a token and how much of supply they STILL hold, from confirmed on-chain data. Returns a `bundle` summary (`wallet_count`, `bundle_kind` [`atomic_tx`/`same_slot`/`none`], `held_ratio`, **`held_pct_of_supply`** [the headline rug/insider signal], `fully_exited`, `buy_volume`, `tokens_held`) plus a `wallets[]` list (`rank`, `wallet`, `held_ratio`, `has_sold`, `atomic`, `is_kol`). BASIC get the `bundle` block only (`wallets: []`); PRO gets top-10 flags-only; ULTRA adds full holdings + wallet identity (`kol_name`, `win_rate`, `bot_confidence`, `tokens_held`). PRO/ULTRA only.
|
|
@@ -114,6 +116,7 @@ const events = await agent.methods.walletTrackerTrades(agent, { limit: 50 });
|
|
|
114
116
|
| `MADEONSOL_WALLET_STATS_ACTION` | **New 1.8** · "wallet stats", "wallet info", "check wallet" — aggregate 90d stats + cross-product flags (KOL/alpha/deployer) for any Solana wallet (PRO+) |
|
|
115
117
|
| `MADEONSOL_WALLET_PNL_ACTION` | **New 1.8** · "wallet pnl", "wallet profit", "wallet performance" — FIFO cost-basis PnL with profit factor, drawdown, daily curve, closed + open positions (PRO+) |
|
|
116
118
|
| `MADEONSOL_WALLET_POSITIONS_ACTION` | **New 1.8** · "wallet positions", "wallet bags", "open positions" — open lots with live unrealized SOL (PRO+) |
|
|
119
|
+
| `MADEONSOL_WALLET_HOLDINGS_ACTION` | **New 1.17** · "wallet holdings", "current holdings", "what does wallet actually hold" — verified CURRENT on-chain holdings (real SPL + Token-2022 accounts + SOL) enriched with price/MC/name, plus `transfer_delta` vs trade-derived position (ULTRA only) |
|
|
117
120
|
| `MADEONSOL_WALLET_TRADES_ACTION` | **New 1.8** · "wallet trades", "wallet history" — cursor-paginated raw trades with filters (PRO+) |
|
|
118
121
|
| `MADEONSOL_TOKEN_FLOW_ACTION` | **New 1.13** · "token flow", "net flow", "buy/sell pressure" — net buy/sell flow over a 1h/24h window (PRO+) |
|
|
119
122
|
| `MADEONSOL_TOKEN_RISK_BATCH_ACTION` | **New 1.15** · "batch token risk", "bulk rug risk", "score many tokens" — rug-risk scoring for 1–50 mints in one call; untracked mints don't fail the batch (PRO+) |
|
|
@@ -310,6 +313,8 @@ console.log(lastRateLimit); // { limit: "10000", remaining: "9999", reset: "..."
|
|
|
310
313
|
|
|
311
314
|
Free tier returns the full REST response shape on every endpoint — real wallets, TX signatures, full precision. Paid tiers unlock webhooks, WebSockets, rule engines, and ULTRA-only data depth. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
312
315
|
|
|
316
|
+
New customers get a 5-day free trial of Pro or Ultra when you pay by card — full access, nothing charged during the trial, cancel anytime. Start at https://madeonsol.com/pricing
|
|
317
|
+
|
|
313
318
|
## Also Available
|
|
314
319
|
|
|
315
320
|
| Platform | Package |
|
package/dist/actions/wallet.d.ts
CHANGED
|
@@ -95,6 +95,48 @@ export declare const walletPositionsAction: {
|
|
|
95
95
|
result?: undefined;
|
|
96
96
|
}>;
|
|
97
97
|
};
|
|
98
|
+
export declare const walletHoldingsAction: {
|
|
99
|
+
name: string;
|
|
100
|
+
similes: string[];
|
|
101
|
+
description: string;
|
|
102
|
+
examples: {
|
|
103
|
+
input: {
|
|
104
|
+
address: string;
|
|
105
|
+
limit: number;
|
|
106
|
+
min_value_usd: number;
|
|
107
|
+
};
|
|
108
|
+
output: {
|
|
109
|
+
status: string;
|
|
110
|
+
};
|
|
111
|
+
explanation: string;
|
|
112
|
+
}[][];
|
|
113
|
+
schema: z.ZodObject<{
|
|
114
|
+
address: z.ZodString;
|
|
115
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
min_value_usd: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
address: string;
|
|
119
|
+
limit?: number | undefined;
|
|
120
|
+
min_value_usd?: number | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
address: string;
|
|
123
|
+
limit?: number | undefined;
|
|
124
|
+
min_value_usd?: number | undefined;
|
|
125
|
+
}>;
|
|
126
|
+
handler: (agent: unknown, input: {
|
|
127
|
+
address: string;
|
|
128
|
+
limit?: number;
|
|
129
|
+
min_value_usd?: number;
|
|
130
|
+
}) => Promise<{
|
|
131
|
+
status: string;
|
|
132
|
+
result: any;
|
|
133
|
+
message?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
status: string;
|
|
136
|
+
message: string;
|
|
137
|
+
result?: undefined;
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
98
140
|
export declare const walletTradesAction: {
|
|
99
141
|
name: string;
|
|
100
142
|
similes: string[];
|
package/dist/actions/wallet.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { walletStats, walletPnl, walletPositions, walletTrades } from "../tools/index.js";
|
|
2
|
+
import { walletStats, walletPnl, walletPositions, walletHoldings, walletTrades } from "../tools/index.js";
|
|
3
3
|
export const walletStatsAction = {
|
|
4
4
|
name: "MADEONSOL_WALLET_STATS_ACTION",
|
|
5
5
|
similes: [
|
|
@@ -100,6 +100,41 @@ export const walletPositionsAction = {
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
};
|
|
103
|
+
export const walletHoldingsAction = {
|
|
104
|
+
name: "MADEONSOL_WALLET_HOLDINGS_ACTION",
|
|
105
|
+
similes: [
|
|
106
|
+
"wallet holdings",
|
|
107
|
+
"current holdings",
|
|
108
|
+
"on-chain holdings",
|
|
109
|
+
"what does wallet actually hold",
|
|
110
|
+
"verified holdings",
|
|
111
|
+
"wallet token balances",
|
|
112
|
+
],
|
|
113
|
+
description: "Verified CURRENT on-chain holdings for any Solana wallet — the wallet's actual SPL + Token-2022 token accounts and SOL balance read straight from chain, enriched with price_usd, value_usd, market_cap_usd, name, symbol, is_bonded, plus transfer_delta (on-chain amount − trade-derived net position, which exposes non-swap flows: airdrops, insider funding, wallet-hopping). Distinct from MADEONSOL_WALLET_POSITIONS_ACTION (trade-derived FIFO) — this is what the wallet actually holds right now. Returns { address, sol_balance, holdings[], summary, verified_at, trade_window_days, cache_hit, ttl_seconds }. ULTRA only.",
|
|
114
|
+
examples: [
|
|
115
|
+
[
|
|
116
|
+
{
|
|
117
|
+
input: { address: "ASVzakePP6GNg9r95d4LPZHJDMXun6L6E4um4pu5ybJk", limit: 50, min_value_usd: 10 },
|
|
118
|
+
output: { status: "success" },
|
|
119
|
+
explanation: "List the wallet's verified on-chain holdings worth at least $10",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
],
|
|
123
|
+
schema: z.object({
|
|
124
|
+
address: z.string().describe("Solana wallet address"),
|
|
125
|
+
limit: z.number().min(1).max(500).optional().describe("Max holdings to return (1-500, default 200)"),
|
|
126
|
+
min_value_usd: z.number().min(0).optional().describe("Only return holdings worth at least this many USD (default 0)"),
|
|
127
|
+
}),
|
|
128
|
+
handler: async (agent, input) => {
|
|
129
|
+
try {
|
|
130
|
+
const data = await walletHoldings(agent, input);
|
|
131
|
+
return { status: "success", result: data };
|
|
132
|
+
}
|
|
133
|
+
catch (err) {
|
|
134
|
+
return { status: "error", message: err.message };
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
};
|
|
103
138
|
export const walletTradesAction = {
|
|
104
139
|
name: "MADEONSOL_WALLET_TRADES_ACTION",
|
|
105
140
|
similes: [
|
package/dist/index.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
|
20
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
21
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
22
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
23
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
24
|
-
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
24
|
+
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction } from "./actions/wallet.js";
|
|
25
25
|
declare const MadeOnSolPlugin: {
|
|
26
26
|
name: string;
|
|
27
27
|
methods: {
|
|
@@ -91,6 +91,7 @@ declare const MadeOnSolPlugin: {
|
|
|
91
91
|
walletStats: typeof walletStats;
|
|
92
92
|
walletPnl: typeof walletPnl;
|
|
93
93
|
walletPositions: typeof walletPositions;
|
|
94
|
+
walletHoldings: typeof walletHoldings;
|
|
94
95
|
walletTrades: typeof walletTrades;
|
|
95
96
|
};
|
|
96
97
|
actions: ({
|
|
@@ -1103,6 +1104,47 @@ declare const MadeOnSolPlugin: {
|
|
|
1103
1104
|
message: string;
|
|
1104
1105
|
result?: undefined;
|
|
1105
1106
|
}>;
|
|
1107
|
+
} | {
|
|
1108
|
+
name: string;
|
|
1109
|
+
similes: string[];
|
|
1110
|
+
description: string;
|
|
1111
|
+
examples: {
|
|
1112
|
+
input: {
|
|
1113
|
+
address: string;
|
|
1114
|
+
limit: number;
|
|
1115
|
+
min_value_usd: number;
|
|
1116
|
+
};
|
|
1117
|
+
output: {
|
|
1118
|
+
status: string;
|
|
1119
|
+
};
|
|
1120
|
+
explanation: string;
|
|
1121
|
+
}[][];
|
|
1122
|
+
schema: import("zod").ZodObject<{
|
|
1123
|
+
address: import("zod").ZodString;
|
|
1124
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1125
|
+
min_value_usd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1127
|
+
address: string;
|
|
1128
|
+
limit?: number | undefined;
|
|
1129
|
+
min_value_usd?: number | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
address: string;
|
|
1132
|
+
limit?: number | undefined;
|
|
1133
|
+
min_value_usd?: number | undefined;
|
|
1134
|
+
}>;
|
|
1135
|
+
handler: (agent: unknown, input: {
|
|
1136
|
+
address: string;
|
|
1137
|
+
limit?: number;
|
|
1138
|
+
min_value_usd?: number;
|
|
1139
|
+
}) => Promise<{
|
|
1140
|
+
status: string;
|
|
1141
|
+
result: any;
|
|
1142
|
+
message?: undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
status: string;
|
|
1145
|
+
message: string;
|
|
1146
|
+
result?: undefined;
|
|
1147
|
+
}>;
|
|
1106
1148
|
} | {
|
|
1107
1149
|
name: string;
|
|
1108
1150
|
similes: string[];
|
|
@@ -1164,8 +1206,8 @@ declare const MadeOnSolPlugin: {
|
|
|
1164
1206
|
initialize(_agent: unknown): void;
|
|
1165
1207
|
};
|
|
1166
1208
|
export default MadeOnSolPlugin;
|
|
1167
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
1209
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, };
|
|
1168
1210
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
1169
1211
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
1170
|
-
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
1212
|
+
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction };
|
|
1171
1213
|
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/index.js
CHANGED
|
@@ -20,8 +20,8 @@ import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
|
20
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
21
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
22
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
23
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
24
|
-
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
24
|
+
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction } from "./actions/wallet.js";
|
|
25
25
|
const MadeOnSolPlugin = {
|
|
26
26
|
name: "madeonsol",
|
|
27
27
|
methods: {
|
|
@@ -91,6 +91,7 @@ const MadeOnSolPlugin = {
|
|
|
91
91
|
walletStats,
|
|
92
92
|
walletPnl,
|
|
93
93
|
walletPositions,
|
|
94
|
+
walletHoldings,
|
|
94
95
|
walletTrades,
|
|
95
96
|
},
|
|
96
97
|
actions: [
|
|
@@ -124,6 +125,7 @@ const MadeOnSolPlugin = {
|
|
|
124
125
|
walletStatsAction,
|
|
125
126
|
walletPnlAction,
|
|
126
127
|
walletPositionsAction,
|
|
128
|
+
walletHoldingsAction,
|
|
127
129
|
walletTradesAction,
|
|
128
130
|
],
|
|
129
131
|
initialize(_agent) {
|
|
@@ -131,8 +133,8 @@ const MadeOnSolPlugin = {
|
|
|
131
133
|
},
|
|
132
134
|
};
|
|
133
135
|
export default MadeOnSolPlugin;
|
|
134
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
136
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, };
|
|
135
137
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
136
138
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
137
|
-
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
139
|
+
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction };
|
|
138
140
|
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -164,6 +164,19 @@ export declare function walletPnl(agent: Agent, params: {
|
|
|
164
164
|
export declare function walletPositions(agent: Agent, params: {
|
|
165
165
|
address: string;
|
|
166
166
|
}): Promise<any>;
|
|
167
|
+
/**
|
|
168
|
+
* Verified CURRENT on-chain holdings for any wallet — the wallet's actual SPL + Token-2022 token
|
|
169
|
+
* accounts and SOL balance read straight from chain, enriched with price/MC/name/symbol, plus
|
|
170
|
+
* `transfer_delta` (on-chain amount − trade-derived net position, exposing non-swap flows like
|
|
171
|
+
* airdrops, insider funding, wallet-hopping). Distinct from `walletPositions` (trade-derived FIFO):
|
|
172
|
+
* holdings = what the wallet actually holds right now. `limit` 1–500 (default 200); `min_value_usd`
|
|
173
|
+
* ≥0 (default 0). ULTRA only.
|
|
174
|
+
*/
|
|
175
|
+
export declare function walletHoldings(agent: Agent, params: {
|
|
176
|
+
address: string;
|
|
177
|
+
limit?: number;
|
|
178
|
+
min_value_usd?: number;
|
|
179
|
+
}): Promise<any>;
|
|
167
180
|
export declare function walletTrades(agent: Agent, params: {
|
|
168
181
|
address: string;
|
|
169
182
|
limit?: number;
|
package/dist/tools/index.js
CHANGED
|
@@ -246,6 +246,23 @@ export async function walletPnl(agent, params) {
|
|
|
246
246
|
export async function walletPositions(agent, params) {
|
|
247
247
|
return restQuery(agent, "GET", `/wallet/${encodeURIComponent(params.address)}/positions`);
|
|
248
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* Verified CURRENT on-chain holdings for any wallet — the wallet's actual SPL + Token-2022 token
|
|
251
|
+
* accounts and SOL balance read straight from chain, enriched with price/MC/name/symbol, plus
|
|
252
|
+
* `transfer_delta` (on-chain amount − trade-derived net position, exposing non-swap flows like
|
|
253
|
+
* airdrops, insider funding, wallet-hopping). Distinct from `walletPositions` (trade-derived FIFO):
|
|
254
|
+
* holdings = what the wallet actually holds right now. `limit` 1–500 (default 200); `min_value_usd`
|
|
255
|
+
* ≥0 (default 0). ULTRA only.
|
|
256
|
+
*/
|
|
257
|
+
export async function walletHoldings(agent, params) {
|
|
258
|
+
const qs = new URLSearchParams();
|
|
259
|
+
if (params.limit !== undefined)
|
|
260
|
+
qs.set("limit", String(params.limit));
|
|
261
|
+
if (params.min_value_usd !== undefined)
|
|
262
|
+
qs.set("min_value_usd", String(params.min_value_usd));
|
|
263
|
+
const query = qs.toString() ? `?${qs.toString()}` : "";
|
|
264
|
+
return restQuery(agent, "GET", `/wallet/${encodeURIComponent(params.address)}/holdings${query}`);
|
|
265
|
+
}
|
|
249
266
|
export async function walletTrades(agent, params) {
|
|
250
267
|
const qs = new URLSearchParams();
|
|
251
268
|
if (params.limit !== undefined)
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.17.0";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTO-GENERATED by ../gen-version.mjs (npm prebuild) from package.json. Do not edit.
|
|
2
|
-
export const VERSION = "1.
|
|
2
|
+
export const VERSION = "1.17.0";
|
package/package.json
CHANGED