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.

103 lines (102 loc) 3.62 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 registering a dynamic hashinal */ declare const RegisterDynamicHashinalSchema: z.ZodObject<{ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>; data: z.ZodOptional<z.ZodObject<{ base64: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; mimeType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }>>; memo: z.ZodOptional<z.ZodString>; ttl: z.ZodDefault<z.ZodNumber>; registryTopicId: z.ZodOptional<z.ZodString>; submitKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { metadata: Record<string, unknown>; ttl: number; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; memo?: string | undefined; submitKey?: string | undefined; registryTopicId?: string | undefined; }, { metadata: Record<string, unknown>; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; memo?: string | undefined; ttl?: number | undefined; submitKey?: string | undefined; registryTopicId?: string | undefined; }>; export type RegisterDynamicHashinalInput = z.infer<typeof RegisterDynamicHashinalSchema>; /** * Tool for registering (creating) dynamic hashinals */ export declare class RegisterDynamicHashinalTool extends BaseHCS6TransactionTool<typeof RegisterDynamicHashinalSchema> { name: string; description: string; schema: z.ZodObject<{ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>; data: z.ZodOptional<z.ZodObject<{ base64: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; mimeType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }, { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; }>>; memo: z.ZodOptional<z.ZodString>; ttl: z.ZodDefault<z.ZodNumber>; registryTopicId: z.ZodOptional<z.ZodString>; submitKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { metadata: Record<string, unknown>; ttl: number; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; memo?: string | undefined; submitKey?: string | undefined; registryTopicId?: string | undefined; }, { metadata: Record<string, unknown>; data?: { base64?: string | undefined; url?: string | undefined; mimeType?: string | undefined; } | undefined; memo?: string | undefined; ttl?: number | undefined; submitKey?: string | undefined; registryTopicId?: string | undefined; }>; constructor(params: HCS6TransactionToolParams); protected _call(params: RegisterDynamicHashinalInput): Promise<TransactionResponse>; } export {};