UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

39 lines 1.14 kB
import { z } from 'zod'; /** * Schema for swapping tokens */ export declare const SwapTokensSchema: z.ZodObject<{ fromToken: z.ZodString; toToken: z.ZodString; amount: z.ZodString; slippageTolerance: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { amount: string; fromToken: string; toToken: string; slippageTolerance: number; }, { amount: string; fromToken: string; toToken: string; slippageTolerance?: number | undefined; }>; /** * Schema for getting liquidity pool information */ export declare const LiquidityPoolsSchema: z.ZodObject<{ poolAddress: z.ZodOptional<z.ZodString>; tokenA: z.ZodOptional<z.ZodString>; tokenB: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { poolAddress?: string | undefined; tokenA?: string | undefined; tokenB?: string | undefined; }, { poolAddress?: string | undefined; tokenA?: string | undefined; tokenB?: string | undefined; }>; export type SwapTokensParams = z.infer<typeof SwapTokensSchema>; export type LiquidityPoolsParams = z.infer<typeof LiquidityPoolsSchema>; //# sourceMappingURL=schemas.d.ts.map