linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
36 lines • 968 B
TypeScript
import { Erc20BalanceParams, Erc20TransferParams } from './schemas.js';
/**
* Get the balance of an ERC20 token for a wallet
* @param params The parameters for getting the token balance
* @returns The token balance and details
*/
export declare function erc20Balance(params: Erc20BalanceParams): Promise<{
success: boolean;
address: string;
token: {
address: string;
name: any;
symbol: any;
decimals: any;
};
balance: string;
}>;
/**
* Transfer ERC20 tokens from one wallet to another
* @param params The parameters for transferring tokens
* @returns The transaction details
*/
export declare function erc20Transfer(params: Erc20TransferParams): Promise<{
success: boolean;
transactionHash: any;
from: string;
to: string;
amount: string;
token: {
address: string;
name: any;
symbol: any;
decimals: any;
};
}>;
//# sourceMappingURL=handlers.d.ts.map