Skip to main content
Glama

zora_get_coin_holders

Retrieve holder information for a Zora coin on Base mainnet, including balances and profile data, to analyze ownership distribution.

Instructions

List holders of a coin with balances and profile data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
chainIdNo
afterNo
countNo

Implementation Reference

  • The handler function for the 'zora_get_coin_holders' tool. It calls CoinsSDK.getCoinHolders with input parameters and returns the response as JSON text content.
    async ({ address, chainId, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getCoinHolders({ address, chainId, after, count, }); return { content: [{ type: "text", text: json(resp) }] }; }
  • Zod input schema defining parameters for the tool: address (required string), chainId (optional number, defaults to Base chain), after (optional cursor string), count (optional int 1-100).
    inputSchema: { address: z.string(), chainId: z.number().default(DEFAULT_CHAIN.id), after: z.string().optional(), count: z.number().int().min(1).max(100).optional(), },
  • src/index.ts:140-162 (registration)
    Registration of the 'zora_get_coin_holders' tool using server.registerTool, including title, description, input schema, and inline handler function.
    server.registerTool( "zora_get_coin_holders", { title: "Get coin holders", description: "List holders of a coin with balances and profile data.", inputSchema: { address: z.string(), chainId: z.number().default(DEFAULT_CHAIN.id), after: z.string().optional(), count: z.number().int().min(1).max(100).optional(), }, }, async ({ address, chainId, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getCoinHolders({ address, chainId, after, count, }); return { content: [{ type: "text", text: json(resp) }] }; } );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/r4topunk/zora-coins-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server