madeonsol_alpha_linked
Identify wallets that co-purchased 3+ tokens within 2 seconds of a target wallet on Solana. ULTRA tier required.
Instructions
Wallets behaviorally linked to a target wallet (co-bought 3+ tokens within 2 seconds). ULTRA only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Wallet address (base58) |
Implementation Reference
- src/index.ts:612-619 (registration)Tool registration — 'madeonsol_alpha_linked' is registered via server.tool() with its schema and handler handler
server.tool( "madeonsol_alpha_linked", "Wallets behaviorally linked to a target wallet (co-bought 3+ tokens within 2 seconds). 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)}/linked`) }], }) - src/index.ts:615-616 (schema)Input schema — accepts single 'wallet' param (base58 address)
{ wallet: z.string().describe("Wallet address (base58)") }, { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, - src/index.ts:617-619 (handler)Handler function — makes GET request to /alpha/{wallet}/linked REST endpoint via restQuery helper
async ({ wallet }) => ({ content: [{ type: "text" as const, text: await restQuery("GET", `/alpha/${encodeURIComponent(wallet)}/linked`) }], }) - src/index.ts:451-466 (helper)Helper function 'restQuery' — used by the handler to make authenticated REST API calls to MadeOnSol
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); } - src/index.ts:1055-1055 (registration)Tool listed in server card metadata (.well-known/mcp/server-card.json)
{ name: "madeonsol_alpha_linked", description: "Behaviorally linked wallets (co-bought 3+ tokens within 2s). ULTRA only." },