Skip to main content
Glama

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

NameRequiredDescriptionDefault
idYes

Input Schema (JSON Schema)

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

Implementation Reference

  • 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)}`); } }
  • 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,

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