helius_get_rwa_asset
Retrieve detailed information about a specific real-world asset on the Solana blockchain by providing its unique identifier.
Instructions
Get details of a real-world asset by its ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/handlers/helius.ts:329-336 (handler)The getRwaAssetHandler function that executes the tool logic, calling Helius RPC to get RWA asset details by ID.export const getRwaAssetHandler = async (input: { id: string }): Promise<ToolResultSchema> => { try { const asset = await (helius as any as Helius).rpc.getRwaAsset({ id: input.id }); return createSuccessResponse(`RWA Asset details: ${JSON.stringify(asset, null, 2)}`); } catch (error) { return createErrorResponse(`Error getting RWA asset: ${error instanceof Error ? error.message : String(error)}`); } }
- src/tools.ts:286-296 (schema)Input schema for the helius_get_rwa_asset tool defining the 'id' parameter.{ name: 'helius_get_rwa_asset', description: 'Get details of a real-world asset by its ID', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
- src/tools.ts:573-573 (registration)Maps the tool name 'helius_get_rwa_asset' to its handler in the handlers dictionary."helius_get_rwa_asset": helius.getRwaAssetHandler,