Skip to main content
Glama

helius_get_signatures_for_asset

Retrieve transaction signatures linked to a specific asset on the Solana blockchain using the Helius API, enabling detailed blockchain data analysis and tracking.

Instructions

Get signatures associated with an asset

Input Schema

NameRequiredDescriptionDefault
idYes
limitNo
pageNo

Input Schema (JSON Schema)

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

Implementation Reference

  • Main handler function implementing the tool logic using Helius RPC's getSignaturesForAsset method.
    export const getSignaturesForAssetHandler = async (input: GetSignaturesForAssetInput): Promise<ToolResultSchema> => { try { // Fix the parameter type mismatch const params = { id: input.id, page: input.page || 1, // Default to page 1 if not provided limit: input.limit || 10 // Default to 10 if not provided }; const signatures = await (helius as any as Helius).rpc.getSignaturesForAsset(params); return createSuccessResponse(`Signatures for asset: ${JSON.stringify(signatures, null, 2)}`); } catch (error) { return createErrorResponse(`Error getting signatures for asset: ${error instanceof Error ? error.message : String(error)}`); } }
  • Tool definition including name, description, and input schema for validation.
    { name: 'helius_get_signatures_for_asset', description: 'Get signatures associated with an asset', inputSchema: { type: 'object', properties: { id: { type: 'string' }, page: { type: 'number' }, limit: { type: 'number' } }, required: ['id'] } },
  • src/tools.ts:581-581 (registration)
    Registration of the tool name to its handler function in the handlers dictionary.
    "helius_get_signatures_for_asset": helius.getSignaturesForAssetHandler,

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