@zlattice/lattice-js
Version:
Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)
13 lines • 437 B
TypeScript
/**
* Strip the hex prefix from a hex string
* @param hex - The hex string to strip the prefix from
* @returns The hex string without the prefix
*/
export declare function stripHexPrefix(hex: string): string;
/**
* Ensure the hex string has 0x prefix
* @param hex - The original hex string
* @returns The hex string with 0x prefix
*/
export declare function addHexPrefix(hex: string): string;
//# sourceMappingURL=string.d.ts.map