@dartess/multicoin-address-validator
Version:
Multicoin address validator for Bitcoin and other Altcoins ported to TypeScript.
9 lines (8 loc) • 365 B
TypeScript
declare type SolCurrency = typeof import('../currencies/sol').solCurrency;
declare type Currency = SolCurrency;
declare const Base58Validator: {
isValidAddress(address: string, currency: Currency): boolean;
};
declare type ValidatorParams = Parameters<typeof Base58Validator.isValidAddress>;
export { Base58Validator };
export type { ValidatorParams };