@okxweb3/coin-base
Version:
A base package for @ok/coin-*
6 lines (5 loc) • 306 B
TypeScript
/// <reference types="node" />
export declare function toHex(data: Uint8Array | Buffer | number[], addPrefix?: boolean): string;
export declare function fromHex(data: string): Buffer;
export declare function stripHexPrefix(hex: string): string;
export declare function isHexPrefixed(hex: string): boolean;