whale_stats
Access statistics on whale wallet datasets including total wallets tracked, blockchain coverage, and update timestamps to monitor cryptocurrency market movements.
Instructions
Get statistics about the whale wallet dataset: total wallets tracked, chains covered, last updated timestamp. Free endpoint.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/whales.ts:263-293 (handler)Registration and handler implementation for the whale_stats tool.
server.registerTool( "whale_stats", { title: "Whale Dataset Statistics", description: "Get statistics about the whale wallet dataset: total wallets tracked, " + "chains covered, last updated timestamp. Free endpoint.", inputSchema: {}, }, async () => { const res = await apiGet<WhaleStatsResponse>("/api/v1/whales/stats"); if (!res.ok) { return { content: [ { type: "text" as const, text: `API error (${res.status}): ${JSON.stringify(res.data)}`, }, ], isError: true, }; } return { content: [ { type: "text" as const, text: JSON.stringify(res.data, null, 2) }, ], }; }, ); - src/tools/whales.ts:22-27 (schema)Response interface for the whale_stats tool.
interface WhaleStatsResponse { dataset: string; source: string; update_frequency: string; stats: Record<string, unknown>; }