Skip to main content
Glama

zora_get_coin_holders

Retrieve a list of coin holders with their balances and profile information to analyze ownership distribution and identify key stakeholders.

Instructions

List holders of a coin with balances and profile data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
chainIdNo
afterNo
countNo

Implementation Reference

  • Handler function that executes the tool logic by calling CoinsSDK.getCoinHolders with provided parameters and returning the JSON-formatted response.
    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 with default), after (optional string), count (optional number between 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 on the MCP server, including title, description, input schema, and 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