UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

60 lines (59 loc) 1.57 kB
import { z } from "zod"; /** * Input schema for request faucet funds action. */ export declare const RequestFaucetFundsV2Schema: z.ZodObject<{ assetId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { assetId?: string | undefined; }, { assetId?: string | undefined; }>; /** * Input schema for swap tokens action. */ export declare const SwapSchema: z.ZodObject<{ fromToken: z.ZodString; toToken: z.ZodString; fromAmount: z.ZodString; slippageBps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { fromToken: string; toToken: string; fromAmount: string; slippageBps: number; }, { fromToken: string; toToken: string; fromAmount: string; slippageBps?: number | undefined; }>; /** * Input schema for listing spend permissions action. */ export declare const ListSpendPermissionsSchema: z.ZodObject<{ smartAccountAddress: z.ZodString; network: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { smartAccountAddress: string; network?: string | undefined; }, { smartAccountAddress: string; network?: string | undefined; }>; /** * Input schema for using a spend permission action. */ export declare const UseSpendPermissionSchema: z.ZodObject<{ smartAccountAddress: z.ZodString; value: z.ZodString; network: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; smartAccountAddress: string; network?: string | undefined; }, { value: string; smartAccountAddress: string; network?: string | undefined; }>;