linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
25 lines • 771 B
TypeScript
import { CallContractParams, DeployContractParams } from './schemas.js';
/**
* Call a contract function
* @param params The parameters for calling a contract function
* @returns The result of the function call
*/
export declare function callContract(params: CallContractParams): Promise<{
success: boolean;
contractAddress: string;
functionName: string;
result: any;
}>;
/**
* Deploy a contract
* @param params The parameters for deploying a contract
* @returns The deployed contract details
*/
export declare function deployContract(params: DeployContractParams): Promise<{
success: boolean;
contractAddress: string;
transactionHash: string;
deployer: string;
abi: string | string[];
}>;
//# sourceMappingURL=handlers.d.ts.map