Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 626 Bytes

eth-connect.tohex.md

File metadata and controls

26 lines (15 loc) · 626 Bytes

Home > eth-connect > toHex

toHex() function

Auto converts any given value into it's hex representation.

And even stringifys objects before.

Signature:

export declare function toHex(val: BigNumber.Value | boolean | Uint8Array): string;

Parameters

Parameter Type Description
val BigNumber.Value | boolean | Uint8Array

Returns:

string