zora_get_profile_coins
Retrieve coins created by a specific profile on the Zora Coins platform to analyze creator activity and explore their digital assets.
Instructions
List coins created by a profile.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| count | No | ||
| after | No | ||
| chainIds | No | ||
| platformReferrerAddress | No |
Implementation Reference
- src/index.ts:241-245 (handler)The handler function for the 'zora_get_profile_coins' tool. It calls CoinsSDK.getProfileCoins with the input arguments and returns the response formatted as JSON text content.async (args) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileCoins(args); return { content: [{ type: "text", text: json(resp) }] }; }
- src/index.ts:230-240 (schema)Input schema definition for the 'zora_get_profile_coins' tool using Zod for validation, including parameters like identifier, count, after, chainIds, and platformReferrerAddress.{ title: "Get profile-created coins", description: "List coins created by a profile.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), chainIds: z.array(z.number()).optional(), platformReferrerAddress: z.array(z.string()).optional(), }, },
- src/index.ts:228-246 (registration)Registration of the 'zora_get_profile_coins' tool with the MCP server, specifying the tool name, schema, and handler function.server.registerTool( "zora_get_profile_coins", { title: "Get profile-created coins", description: "List coins created by a profile.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), chainIds: z.array(z.number()).optional(), platformReferrerAddress: z.array(z.string()).optional(), }, }, async (args) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileCoins(args); return { content: [{ type: "text", text: json(resp) }] }; } );