Skip to main content
Glama

helius_get_asset_proof

Retrieve proof for a specific digital asset on the Solana blockchain using the Helius API. Verify asset authenticity and ownership with ease.

Instructions

Get proof for a digital asset

Input Schema

NameRequiredDescriptionDefault
idYes

Input Schema (JSON Schema)

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

Implementation Reference

  • Primary handler function implementing the logic for 'helius_get_asset_proof'. Calls Helius RPC's getAssetProof method with the provided asset ID and returns a success or error response.
    export const getAssetProofHandler = async (input: { id: string }): Promise<ToolResultSchema> => { try { const proof = await (helius as any as Helius).rpc.getAssetProof({ id: input.id }); return createSuccessResponse(`Asset proof: ${JSON.stringify(proof, null, 2)}`); } catch (error) { return createErrorResponse(`Error getting asset proof: ${error instanceof Error ? error.message : String(error)}`); } }
  • Tool schema defining the input structure (requires 'id' string) and description for 'helius_get_asset_proof'.
    { name: 'helius_get_asset_proof', description: 'Get proof for a digital asset', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
  • src/tools.ts:575-575 (registration)
    Registration of the handler function in the central handlers dictionary, mapping the tool name to helius.getAssetProofHandler.
    "helius_get_asset_proof": helius.getAssetProofHandler,

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