@lodestar/utils
Version:
Utilities required across multiple lodestar packages
11 lines • 419 B
TypeScript
export declare function toHex(bytes: Uint8Array): string;
/**
* Convert a Uint8Array, length 32, to 0x-prefixed hex string
*/
export declare function toRootHex(root: Uint8Array): string;
/**
* Convert a Uint8Array, length 48, to 0x-prefixed hex string
*/
export declare function toPubkeyHex(pubkey: Uint8Array): string;
export declare function fromHex(hex: string): Uint8Array;
//# sourceMappingURL=browser.d.ts.map