@dartess/multicoin-address-validator
Version:
Multicoin address validator for Bitcoin and other Altcoins ported to TypeScript.
14 lines (13 loc) • 410 B
TypeScript
declare const NEMValidator: {
/**
* Check if an address is valid
*
* @param {string} _address - An address
*
* @return {boolean} - True if address is valid, false otherwise
*/
isValidAddress(_address: string): boolean;
};
declare type ValidatorParams = Parameters<typeof NEMValidator.isValidAddress>;
export { NEMValidator };
export type { ValidatorParams };