UNPKG

@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.

45 lines (44 loc) 1.73 kB
import { z } from 'zod'; import { BaseHCS6TransactionTool } from './base-hcs6-tools'; import { HCS6TransactionToolParams } from './hcs6-tool-params'; import { TransactionResponse } from 'hedera-agent-kit'; /** * Schema for creating a dynamic hashinal registry */ declare const CreateDynamicRegistrySchema: z.ZodObject<{ ttl: z.ZodDefault<z.ZodNumber>; adminKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>; submitKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>; }, "strip", z.ZodTypeAny, { ttl: number; adminKey?: string | boolean | undefined; submitKey?: string | boolean | undefined; }, { ttl?: number | undefined; adminKey?: string | boolean | undefined; submitKey?: string | boolean | undefined; }>; export type CreateDynamicRegistryInput = z.infer<typeof CreateDynamicRegistrySchema>; /** * Tool for creating HCS-6 dynamic registries */ export declare class CreateDynamicRegistryTool extends BaseHCS6TransactionTool<typeof CreateDynamicRegistrySchema> { name: string; description: string; schema: z.ZodObject<{ ttl: z.ZodDefault<z.ZodNumber>; adminKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>; submitKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>; }, "strip", z.ZodTypeAny, { ttl: number; adminKey?: string | boolean | undefined; submitKey?: string | boolean | undefined; }, { ttl?: number | undefined; adminKey?: string | boolean | undefined; submitKey?: string | boolean | undefined; }>; constructor(params: HCS6TransactionToolParams); protected _call(params: CreateDynamicRegistryInput): Promise<TransactionResponse>; } export {};