UNPKG

deth

Version:

Ethereum node focused on Developer Experience

10 lines (9 loc) 361 B
/// <reference types="node" /> import { Opaque } from 'ts-essentials'; /** * A hexadecimal string representing bytes of data. * Always prefixed with 0x, always lowercase. */ export declare type HexData = Opaque<'HexData', string>; export declare function makeHexData(value: string): HexData; export declare function bufferToHexData(buffer: Buffer): HexData;