UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

80 lines 2.32 kB
import { GetTransactionStatusParams } from './schemas.js'; /** * Get the status and details of a transaction. * @param params Parameters including transactionHash and optional network. * @returns Transaction status and details. */ export declare function getTransactionStatus(params: GetTransactionStatusParams): Promise<{ success: boolean; transactionHash: `0x${string}`; network: "mainnet" | "testnet" | "ethereum"; status: string; blockNumber: string; blockHash: `0x${string}`; gasUsed: string; effectiveGasPrice: string; from: `0x${string}`; to: `0x${string}` | null; contractAddress: `0x${string}` | null | undefined; logs: import("viem").Log<bigint, number, false>[]; message?: undefined; details?: undefined; error?: undefined; } | { success: boolean; transactionHash: `0x${string}`; network: "mainnet" | "testnet" | "ethereum"; status: string; message: string; details: { from: `0x${string}`; to: `0x${string}` | null; value: string; nonce: number; gasPrice: string | undefined; maxFeePerGas: string | undefined; maxPriorityFeePerGas: string | undefined; }; blockNumber?: undefined; blockHash?: undefined; gasUsed?: undefined; effectiveGasPrice?: undefined; from?: undefined; to?: undefined; contractAddress?: undefined; logs?: undefined; error?: undefined; } | { success: boolean; transactionHash: `0x${string}`; network: "mainnet" | "testnet" | "ethereum"; status: string; message: string; blockNumber?: undefined; blockHash?: undefined; gasUsed?: undefined; effectiveGasPrice?: undefined; from?: undefined; to?: undefined; contractAddress?: undefined; logs?: undefined; details?: undefined; error?: undefined; } | { success: boolean; transactionHash: `0x${string}`; network: "mainnet" | "testnet" | "ethereum"; status: string; error: string; blockNumber?: undefined; blockHash?: undefined; gasUsed?: undefined; effectiveGasPrice?: undefined; from?: undefined; to?: undefined; contractAddress?: undefined; logs?: undefined; message?: undefined; details?: undefined; }>; //# sourceMappingURL=handlers.d.ts.map