helius_get_nft_editions
Retrieve all NFT editions associated with a specific master edition on the Solana blockchain using Helius API data.
Instructions
Get NFT editions for a master edition
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| masterEditionId | Yes | ||
| page | No | ||
| limit | No |
Implementation Reference
- src/handlers/helius.ts:444-451 (handler)The handler function that executes the logic for helius_get_nft_editions by calling the Helius RPC method getNftEditions.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)}`); } }
- src/tools.ts:423-435 (schema)The 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)The registration mapping the tool name to its handler function."helius_get_nft_editions": helius.getNftEditionsHandler,