linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
29 lines • 964 B
TypeScript
import { GetAddressParams, ListBalancesParams, TransferFundsParams } from './schemas.js';
/**
* Get the default wallet address using viem
* @returns The wallet address
*/
export declare function getAddress(_params: GetAddressParams): Promise<{
success: boolean;
address: `0x${string}`;
}>;
/**
* List balances for a wallet using viem
* @param params The parameters for listing balances
* @returns The wallet balances
*/
export declare function listBalances(params: ListBalancesParams): Promise<{
success: boolean;
address: `0x${string}`;
balances: {
ETH: string;
};
note: string;
}>;
/**
* Transfer ETH funds from one wallet to another using viem, with fee estimation and confirmation
* @param params The parameters for transferring funds
* @returns The transaction details or an abort message
*/
export declare function transferFunds(params: TransferFundsParams): Promise<any>;
//# sourceMappingURL=handlers.d.ts.map