Skip to main content
Glama

helius_get_nft_editions

Retrieve NFT editions for a master edition on the Solana blockchain using the Helius API. Input the master edition ID to access detailed edition information.

Instructions

Get NFT editions for a master edition

Input Schema

NameRequiredDescriptionDefault
limitNo
masterEditionIdYes
pageNo

Input Schema (JSON Schema)

{ "properties": { "limit": { "type": "number" }, "masterEditionId": { "type": "string" }, "page": { "type": "number" } }, "required": [ "masterEditionId" ], "type": "object" }

Implementation Reference

  • The main handler function for 'helius_get_nft_editions' that fetches NFT editions using the Helius SDK.
    export const getNftEditionsHandler = async (input: { masterEditionId: string, page?: number, limit?: number }): Promise<ToolResultSchema> => { try { const editions = await (helius as any as Helius).rpc.getNftEditions(input); return createSuccessResponse(`NFT editions: ${JSON.stringify(editions, null, 2)}`); } catch (error) { return createErrorResponse(`Error getting NFT editions: ${error instanceof Error ? error.message : String(error)}`); } }
  • Input schema definition for the 'helius_get_nft_editions' tool.
    { name: 'helius_get_nft_editions', description: 'Get NFT editions for a master edition', inputSchema: { type: 'object', properties: { masterEditionId: { type: 'string' }, page: { type: 'number' }, limit: { type: 'number' } }, required: ['masterEditionId'] } },
  • src/tools.ts:582-582 (registration)
    Registration of the handler for 'helius_get_nft_editions' in the tools handlers dictionary.
    "helius_get_nft_editions": helius.getNftEditionsHandler,

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/dcSpark/mcp-server-helius'

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