madeonsol_wallet_tracker_remove
Remove a Solana wallet from your monitored watchlist to stop tracking its trades and analytics.
Instructions
Remove a wallet from your watchlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | Solana wallet address to remove from watchlist |
Implementation Reference
- src/index.ts:386-396 (registration)Registration of the 'madeonsol_wallet_tracker_remove' tool via server.tool() with its schema and handler.
server.tool( "madeonsol_wallet_tracker_remove", "Remove a wallet from your watchlist.", { wallet_address: z.string().describe("Solana wallet address to remove from watchlist"), }, { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }, async ({ wallet_address }) => ({ content: [{ type: "text" as const, text: await walletTrackerRequest("DELETE", `/wallet-tracker/watchlist/${encodeURIComponent(wallet_address)}`) }], }) ); - src/index.ts:393-395 (handler)Handler function: sends a DELETE request to the wallet-tracker/watchlist/{wallet_address} endpoint to remove a wallet from the watchlist.
async ({ wallet_address }) => ({ content: [{ type: "text" as const, text: await walletTrackerRequest("DELETE", `/wallet-tracker/watchlist/${encodeURIComponent(wallet_address)}`) }], }) - src/index.ts:389-391 (schema)Input schema: requires a single string parameter 'wallet_address' (base58 Solana wallet address).
{ wallet_address: z.string().describe("Solana wallet address to remove from watchlist"), }, - src/index.ts:346-358 (helper)Helper function walletTrackerRequest used by the remove handler to make the DELETE API call with JSON headers and auth.
async function walletTrackerRequest(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); }