@truenetworkio/sdk
Version:
True Network SDK is the abstracted interface for interacting with True Network nodes.
9 lines (8 loc) • 596 B
TypeScript
export declare function decodeBytesToNumber(bytes: Uint8Array): number;
export declare function stringToBlakeTwo256Hash(inputString: string): string;
export declare function bytesToBlakeTwo256Hash(bytes: Uint8Array): string;
export declare const toHexString: (input: string | number) => string;
export declare function numberToUint8Array(number: number): Uint8Array;
export declare function toLittleEndianHex(num: any, byteLength: number): string;
export declare const convertHexToString: (str: string) => string;
export declare const convertBytesToSerialize: (input: string) => number | string;