UNPKG

@agentek/tools

Version:

Blockchain tools for AI agents

29 lines 889 B
import { Token } from "zrouter-sdk"; import z from "zod"; export type ResolvedToken = Token & { standard: "ERC20" | "ERC6909"; decimals: number; }; export declare const TokenSchema: z.ZodObject<{ address: z.ZodEffects<z.ZodString, `0x${string}`, string>; id: z.ZodOptional<z.ZodBigInt>; }, "strip", z.ZodTypeAny, { address?: `0x${string}`; id?: bigint; }, { address?: string; id?: bigint; }>; export type ZToken = z.infer<typeof TokenSchema>; export declare const SymbolOrTokenSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{ address: z.ZodEffects<z.ZodString, `0x${string}`, string>; id: z.ZodOptional<z.ZodBigInt>; }, "strip", z.ZodTypeAny, { address?: `0x${string}`; id?: bigint; }, { address?: string; id?: bigint; }>]>; export declare const AmountSchema: z.ZodUnion<[z.ZodNumber, z.ZodString]>; //# sourceMappingURL=types.d.ts.map