UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

36 lines 1.68 kB
/** * Resolve an ENS name to its address on Linea * @param ensName The ENS name to resolve (e.g. 'user.linea') * @param testnet Whether to use Linea Sepolia testnet (default: false) * @returns The resolved address or null if not found */ export declare function resolveENSName(ensName: string, testnet?: boolean): Promise<string | null>; /** * Lookup ENS name for an address on Linea * @param address The Ethereum address to lookup * @param testnet Whether to use Linea Sepolia testnet (default: false) * @returns The ENS name or null if not found */ export declare function lookupENSAddress(address: string, testnet?: boolean): Promise<string | null>; /** * Check if an ENS name is available on Linea * @param ensName The ENS name to check * @param testnet Whether to use Linea Sepolia testnet (default: false) * @returns True if available, false if already registered */ export declare function checkENSNameAvailability(ensName: string, testnet?: boolean): Promise<boolean>; /** * Get ENS avatar for a name * @param ensName The ENS name to get avatar for * @param testnet Whether to use Linea Sepolia testnet (default: false) * @returns The avatar URL or null if not set */ export declare function getENSAvatar(ensName: string, testnet?: boolean): Promise<string | null>; /** * Get multiple ENS records for a name * @param ensName The ENS name to get records for * @param testnet Whether to use Linea Sepolia testnet (default: false) * @returns An object with the ENS records */ export declare function getENSRecords(ensName: string, records: string[], testnet?: boolean): Promise<Record<string, string | null>>; //# sourceMappingURL=ens-resolver.d.ts.map