@hashgraphonline/standards-agent-kit
Version:
A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org
41 lines (40 loc) • 1.56 kB
TypeScript
import { z } from 'zod';
import { BaseHCS10TransactionTool } from './base-hcs10-tools';
import { HCS10TransactionToolParams } from './hcs10-tool-params';
import { BaseServiceBuilder } from 'hedera-agent-kit';
declare const AcceptConnectionRequestZodSchema: z.ZodObject<{
requestKey: z.ZodString;
hbarFee: z.ZodOptional<z.ZodNumber>;
exemptAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
requestKey: string;
exemptAccountIds?: string[] | undefined;
hbarFee?: number | undefined;
}, {
requestKey: string;
exemptAccountIds?: string[] | undefined;
hbarFee?: number | undefined;
}>;
/**
* Tool for accepting incoming HCS-10 connection requests
*/
export declare class AcceptConnectionRequestTool extends BaseHCS10TransactionTool<typeof AcceptConnectionRequestZodSchema> {
name: string;
description: string;
specificInputSchema: z.ZodObject<{
requestKey: z.ZodString;
hbarFee: z.ZodOptional<z.ZodNumber>;
exemptAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
requestKey: string;
exemptAccountIds?: string[] | undefined;
hbarFee?: number | undefined;
}, {
requestKey: string;
exemptAccountIds?: string[] | undefined;
hbarFee?: number | undefined;
}>;
constructor(params: HCS10TransactionToolParams);
protected callBuilderMethod(builder: BaseServiceBuilder, specificArgs: z.infer<typeof AcceptConnectionRequestZodSchema>): Promise<void>;
}
export {};