UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

19 lines (18 loc) 533 B
import { z } from 'zod'; /** * Schema for bridging assets between Ethereum and Linea */ export const BridgeAssetsSchema = z.object({ sourceChain: z.enum(['ethereum', 'linea']), destinationChain: z.enum(['ethereum', 'linea']), assetType: z.enum(['ETH', 'ERC20']), tokenAddress: z.string().optional(), amount: z.string(), }); /** * Schema for checking bridge transaction status */ export const BridgeStatusSchema = z.object({ transactionHash: z.string(), sourceChain: z.enum(['ethereum', 'linea']), });