helius_get_rwa_asset
Retrieve detailed information about a specific real-world asset by its unique ID using the MCP Helius server, enabling efficient access to Solana blockchain data for analysis and operations.
Instructions
Get details of a real-world asset by its ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
Implementation Reference
- src/handlers/helius.ts:329-336 (handler)The handler function that implements the core logic for 'helius_get_rwa_asset' by calling the Helius RPC to fetch RWA asset details.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)The input schema definition for the 'helius_get_rwa_asset' tool, specifying the required '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)Registration of the handler function in the tools handlers dictionary."helius_get_rwa_asset": helius.getRwaAssetHandler,