madeonsol_alpha_wallet
Retrieves detailed alpha profile for a Solana wallet, including per-token breakdown and bot signals. Designed for elite traders seeking actionable insights.
Instructions
Full alpha profile for one wallet — per-token breakdown + bot_signals array. ULTRA only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Wallet address (base58) |
Implementation Reference
- src/index.ts:602-610 (registration)Registration of the madeonsol_alpha_wallet MCP tool. Defined via server.tool(). The handler calls restQuery('GET', /alpha/{wallet}) to fetch a full alpha profile for a wallet. ULTRA only.
server.tool( "madeonsol_alpha_wallet", "Full alpha profile for one wallet — per-token breakdown + bot_signals array. ULTRA only.", { wallet: z.string().describe("Wallet address (base58)") }, { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, async ({ wallet }) => ({ content: [{ type: "text" as const, text: await restQuery("GET", `/alpha/${encodeURIComponent(wallet)}`) }], }) ); - src/index.ts:607-610 (handler)Handler function for madeonsol_alpha_wallet. Takes a wallet parameter and calls the REST API endpoint /alpha/{wallet} via restQuery helper.
async ({ wallet }) => ({ content: [{ type: "text" as const, text: await restQuery("GET", `/alpha/${encodeURIComponent(wallet)}`) }], }) ); - src/index.ts:605-606 (schema)Input schema for madeonsol_alpha_wallet: requires a single 'wallet' parameter (base58 string).
{ wallet: z.string().describe("Wallet address (base58)") }, { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, - src/index.ts:451-466 (helper)The restQuery helper function used by the handler to make REST API calls. It sends authenticated GET requests to the MadeOnSol API v1 endpoint.
async function restQuery(method: string, path: string, body?: unknown): Promise<string> { const headers: Record<string, string> = { "Content-Type": "application/json", ...apiKeyHeaders(), }; const res = await fetch(`${BASE_URL}/api/v1${path}`, { method, headers, ...(body ? { body: JSON.stringify(body) } : {}), }); if (!res.ok) { const text = await res.text().catch(() => ""); return `Error ${res.status}: ${text}`; } return JSON.stringify(await res.json(), null, 2); }