address.d.ts 703 B

123456789101112
  1. export declare const ADDRESS_SIZE = 34;
  2. export declare const ADDRESS_PREFIX = "41";
  3. export declare const ADDRESS_PREFIX_BYTE = 65;
  4. export declare const ADDRESS_PREFIX_REGEX: RegExp;
  5. export declare const TRON_BIP39_PATH_PREFIX = "m/44'/195'";
  6. export declare const TRON_BIP39_PATH_INDEX_0: string;
  7. export declare function fromHex(address: string): string;
  8. export declare function toHex(address: string): string;
  9. export declare function toChecksumAddress(address: string): string;
  10. export declare function isChecksumAddress(address: string): boolean;
  11. export declare function fromPrivateKey(privateKey: string, strict?: boolean): string | false;
  12. export declare function isAddress(address: unknown): boolean;