zora_get_profile_balances
Retrieve coin balances for a wallet or handle on the Zora Coins ecosystem. This tool queries the Base mainnet to list token holdings and profile asset data.
Instructions
List coin balances for a wallet or handle.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| count | No | ||
| after | No |
Implementation Reference
- src/index.ts:259-263 (handler)Handler function that invokes CoinsSDK.getProfileBalances with provided parameters (identifier, after, count) and returns formatted JSON response.async ({ identifier, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileBalances({ identifier, after, count }); return { content: [{ type: "text", text: json(resp) }] }; }
- src/index.ts:250-258 (schema)Tool metadata including title, description, and Zod input schema for identifier (string), optional count (1-100), and after (string).{ title: "Get profile balances", description: "List coin balances for a wallet or handle.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, },
- src/index.ts:248-264 (registration)Registers the 'zora_get_profile_balances' tool on the MCP server with schema and handler implementation.server.registerTool( "zora_get_profile_balances", { title: "Get profile balances", description: "List coin balances for a wallet or handle.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, }, async ({ identifier, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileBalances({ identifier, after, count }); return { content: [{ type: "text", text: json(resp) }] }; } );