zora_explore_last_traded_unique
Retrieve recently traded coins by unique traders on Zora Coins to analyze market activity and identify emerging trends.
Instructions
Coins most recently traded by unique traders.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| after | No |
Implementation Reference
- src/index.ts:325-331 (registration)Registration of the 'zora_explore_last_traded_unique' tool using the exploreTool helper function, which sets up the MCP tool registration with a standard input schema for pagination (after, count) and a wrapper handler that calls CoinsSDK.getCoinsLastTradedUnique.exploreTool( "zora_explore_last_traded_unique", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsLastTradedUnique, "Last traded (unique traders)", "Coins most recently traded by unique traders." );
- src/index.ts:267-288 (helper)The exploreTool helper function defines the shared schema (inputSchema for count and after pagination) and thin wrapper handler logic that invokes the provided SDK function (CoinsSDK.getCoinsLastTradedUnique) with pagination args and formats the response.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) }] }; } ); }