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) 977 B
import { z } from 'zod'; import { BaseHederaQueryTool, BaseHederaQueryToolParams } from '../common/base-hedera-query-tool'; declare const GetTransactionZodSchema: z.ZodObject<{ transactionIdOrHash: z.ZodString; }, "strip", z.ZodTypeAny, { transactionIdOrHash: string; }, { transactionIdOrHash: string; }>; /** * Tool for retrieving Hedera transaction details. * This is a read-only operation that queries the mirror node. */ export declare class HederaGetTransactionTool extends BaseHederaQueryTool<typeof GetTransactionZodSchema> { name: string; description: string; specificInputSchema: z.ZodObject<{ transactionIdOrHash: z.ZodString; }, "strip", z.ZodTypeAny, { transactionIdOrHash: string; }, { transactionIdOrHash: string; }>; namespace: string; constructor(params: BaseHederaQueryToolParams); protected executeQuery(args: z.infer<typeof GetTransactionZodSchema>): Promise<unknown>; } export {};