linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
39 lines • 1.3 kB
TypeScript
import { z } from 'zod';
/**
* Schema for bridging assets between Ethereum and Linea
*/
export declare const BridgeAssetsSchema: z.ZodObject<{
sourceChain: z.ZodEnum<["ethereum", "linea"]>;
destinationChain: z.ZodEnum<["ethereum", "linea"]>;
assetType: z.ZodEnum<["ETH", "ERC20"]>;
tokenAddress: z.ZodOptional<z.ZodString>;
amount: z.ZodString;
}, "strip", z.ZodTypeAny, {
sourceChain: "linea" | "ethereum";
destinationChain: "linea" | "ethereum";
assetType: "ETH" | "ERC20";
amount: string;
tokenAddress?: string | undefined;
}, {
sourceChain: "linea" | "ethereum";
destinationChain: "linea" | "ethereum";
assetType: "ETH" | "ERC20";
amount: string;
tokenAddress?: string | undefined;
}>;
/**
* Schema for checking bridge transaction status
*/
export declare const BridgeStatusSchema: z.ZodObject<{
transactionHash: z.ZodString;
sourceChain: z.ZodEnum<["ethereum", "linea"]>;
}, "strip", z.ZodTypeAny, {
sourceChain: "linea" | "ethereum";
transactionHash: string;
}, {
sourceChain: "linea" | "ethereum";
transactionHash: string;
}>;
export type BridgeAssetsParams = z.infer<typeof BridgeAssetsSchema>;
export type BridgeStatusParams = z.infer<typeof BridgeStatusSchema>;
//# sourceMappingURL=schemas.d.ts.map