helius_get_asset_proof
Retrieve cryptographic proof for a digital asset on Solana blockchain to verify ownership and authenticity.
Instructions
Get proof for a digital asset
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/handlers/helius.ts:347-354 (handler)The handler function that executes the tool logic by calling Helius RPC's getAssetProof method.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)}`); } }
- src/tools.ts:308-318 (schema)JSON schema defining the input for the tool (requires 'id' string).{ 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)Maps the tool name to its handler function in the global handlers dictionary."helius_get_asset_proof": helius.getAssetProofHandler,