zora_explore_last_traded
Retrieve recently traded coins from the Zora Coins ecosystem to monitor market activity and identify trading opportunities.
Instructions
Coins most recently traded.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| after | No |
Implementation Reference
- src/index.ts:318-324 (registration)Registers the MCP tool 'zora_explore_last_traded' using the exploreTool helper function, specifying the SDK function CoinsSDK.getCoinsLastTraded as the core logic.exploreTool( "zora_explore_last_traded", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsLastTraded, "Last traded", "Coins most recently traded." );
- src/index.ts:267-288 (helper)Helper function that registers paginated 'explore' MCP tools. Defines the shared input schema (count, after), handler (calls provided fn and formats response), and performs server.registerTool call. This is the implementation template for zora_explore_last_traded.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) }] }; } ); }