UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

31 lines 1.04 kB
import { z } from 'zod'; /** * Schema for getting the status of a transaction. */ export declare const GetTransactionStatusSchema: z.ZodObject<{ transactionHash: z.ZodString; network: z.ZodDefault<z.ZodOptional<z.ZodEnum<["mainnet", "testnet", "ethereum"]>>>; }, "strip", z.ZodTypeAny, { transactionHash: string; network: "mainnet" | "testnet" | "ethereum"; }, { transactionHash: string; network?: "mainnet" | "testnet" | "ethereum" | undefined; }>; export type GetTransactionStatusParams = z.infer<typeof GetTransactionStatusSchema>; /** * Example Output Schema (Informational - actual output structure defined in handler) * * success: boolean; * transactionHash: string; * network: string; * status: 'pending' | 'success' | 'reverted' | 'not_found'; * blockNumber?: string | null; * gasUsed?: string | null; * from?: string; * to?: string | null; * value?: string | null; * data?: string | null; * error?: string | null; // If status is 'reverted' or fetch fails */ //# sourceMappingURL=schemas.d.ts.map