zora_explore_top_volume_24h
Discover coins with the highest trading volume on Zora Coins in the last 24 hours to identify active market trends and opportunities.
Instructions
Coins with highest trading volume in last 24 hours.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| after | No |
Implementation Reference
- src/index.ts:297-303 (registration)Registers the "zora_explore_top_volume_24h" MCP tool using the exploreTool helper. Specifies the tool name, delegates execution to CoinsSDK.getCoinsTopVolume24h (external SDK function), and provides title and description.exploreTool( "zora_explore_top_volume_24h", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsTopVolume24h, "Top 24h volume", "Coins with highest trading volume in last 24 hours." );
- src/index.ts:267-288 (helper)Helper function that performs the actual MCP tool registration (server.registerTool), defines the shared input schema for pagination parameters, and implements the generic handler logic which calls the provided SDK function and serializes the response as MCP-formatted content.function exploreTool( name: string, fn: (args: { after?: string; count?: number }) => Promise<unknown>, title: string, description: string ) { server.registerTool( name, { title, description, inputSchema: { count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, }, async ({ after, count }) => { const resp = await fn({ after, count }); return { content: [{ type: "text", text: json(resp) }] }; } ); }
- src/index.ts:279-281 (schema)Input schema defined for the tool: optional 'count' (1-100 integer) for pagination limit, optional 'after' cursor for pagination.count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), },