UNPKG

@okxweb3/coin-base

Version:
11 lines (10 loc) 721 B
export declare function isHexPrefixed(str: string): boolean; export declare const stripHexPrefix: (str: string) => string; export declare function padToEven(value: string): string; export declare function getBinarySize(str: string): number; export declare function arrayContainsArray(superset: unknown[], subset: unknown[], some?: boolean): boolean; export declare function toAscii(hex: string): string; export declare function fromUtf8(stringValue: string): string; export declare function fromAscii(stringValue: string): string; export declare function getKeys(params: Record<string, string>[], key: string, allowEmpty?: boolean): string[]; export declare function isHexString(value: string, length?: number): boolean;