UNPKG

@hashgraphonline/hedera-agent-kit

Version:

Build LLM-powered applications that interact with the Hedera Network. Create conversational agents that can understand user requests in natural language and execute Hedera transactions, or build backend systems that leverage AI for on-chain operations.

30 lines (28 loc) 913 B
import { z } from 'zod'; import { BaseHederaQueryTool, BaseHederaQueryToolParams } from '../common/base-hedera-query-tool'; declare const GetTopicInfoZodSchema: z.ZodObject<{ topicId: z.ZodString; }, "strip", z.ZodTypeAny, { topicId: string; }, { topicId: string; }>; /** * Tool for retrieving Hedera Consensus Service topic information. * This is a read-only operation that queries the mirror node. */ export declare class HederaGetTopicInfoTool extends BaseHederaQueryTool<typeof GetTopicInfoZodSchema> { name: string; description: string; specificInputSchema: z.ZodObject<{ topicId: z.ZodString; }, "strip", z.ZodTypeAny, { topicId: string; }, { topicId: string; }>; namespace: string; constructor(params: BaseHederaQueryToolParams); protected executeQuery(args: z.infer<typeof GetTopicInfoZodSchema>): Promise<unknown>; } export {};