Skip to main content
Glama

helius_get_signatures_for_asset

Retrieve transaction signatures for a specific asset on the Solana blockchain to track its activity and history.

Instructions

Get signatures associated with an asset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
limitNo

Implementation Reference

  • The handler function that executes the tool logic: calls Helius RPC getSignaturesForAsset with id, page, limit, and formats the response.
    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)}`); } }
  • The input schema definition for the tool, defining parameters id (required string), page (number), limit (number).
    { 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