linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
46 lines • 1.35 kB
TypeScript
import { z } from 'zod';
/**
* Schema for the get-address tool
* This tool doesn't require any parameters
*/
export declare const getAddressSchema: z.ZodObject<{
random_string: z.ZodString;
}, "strip", z.ZodTypeAny, {
random_string: string;
}, {
random_string: string;
}>;
/**
* Schema for the list-balances tool
* @param address Optional address to check balances for
*/
export declare const listBalancesSchema: z.ZodObject<{
address: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
address?: string | undefined;
}, {
address?: string | undefined;
}>;
/**
* Schema for the transfer-funds tool
* @param destination The address to send funds to
* @param amount The amount to send
* @param assetId The asset to send (defaults to ETH)
*/
export declare const transferFundsSchema: z.ZodObject<{
destination: z.ZodString;
amount: z.ZodString;
assetId: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
amount: string;
destination: string;
assetId: string;
}, {
amount: string;
destination: string;
assetId?: string | undefined;
}>;
export type GetAddressParams = z.infer<typeof getAddressSchema>;
export type ListBalancesParams = z.infer<typeof listBalancesSchema>;
export type TransferFundsParams = z.infer<typeof transferFundsSchema>;
//# sourceMappingURL=schemas.d.ts.map