UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

43 lines 1.3 kB
import { BridgeAssetsParams, BridgeStatusParams } from './schemas.js'; /** * Bridge assets between Ethereum and Linea * @param params The parameters for bridging assets * @returns The transaction details */ export declare function bridgeAssets(params: BridgeAssetsParams): Promise<{ success: boolean; transactionHash: any; sourceChain: "linea" | "ethereum"; destinationChain: "linea" | "ethereum"; assetType: "ETH" | "ERC20"; tokenAddress: string | null | undefined; amount: string; from: string; status: string; message: string; }>; /** * Check the status of a bridge transaction * @param params The parameters for checking bridge status * @returns The status of the bridge transaction */ export declare function bridgeStatus(params: BridgeStatusParams): Promise<{ success: boolean; transactionHash: string; sourceChain: "linea" | "ethereum"; status: string; message: string; destinationChain?: undefined; blockNumber?: undefined; confirmations?: undefined; } | { success: boolean; transactionHash: string; sourceChain: "linea" | "ethereum"; destinationChain: string; status: string; message: string; blockNumber: number; confirmations: number; }>; //# sourceMappingURL=handlers.d.ts.map