@energiswap/sdk-core
Version:
⚒️ An SDK for building applications on top of Energiswap V3
11 lines (10 loc) • 437 B
TypeScript
/**
* Validates an address and returns the parsed (checksummed) version of that address
* @param address the unchecksummed hex address
*/
export declare function validateAndParseAddress(address: string): string;
/**
* Checks if an address is valid by checking 0x prefix, length === 42 and hex encoding.
* @param address the unchecksummed hex address
*/
export declare function checkValidAddress(address: string): string;