@fordefi-public/crypto-address-validator-ts
Version:
Crypto address validator for Bitcoin and other Altcoins, forked to be used with typescript
11 lines (10 loc) • 483 B
TypeScript
import { Options } from './types/types';
export declare function validate(address: string, currencyNameOrSymbol: string, opts: Options | null): boolean;
export declare function getCurrencies(): import("./types/types").Currency[];
export declare function findCurrency(symbol: string): import("./types/types").Currency;
declare const _default: {
validate: typeof validate;
getCurrencies: typeof getCurrencies;
findCurrency: typeof findCurrency;
};
export default _default;