Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 652 Bytes

eth-connect.tostringdata.md

File metadata and controls

24 lines (14 loc) · 652 Bytes

Home > eth-connect > toStringData

toStringData() function

Converts a UTF8 string to it's hex representation as a 0x string. If the argument is already a 0xHEX prefixed string, the conversion is skipped.

Signature:

export declare function toStringData(val: BigNumber.Value): string;

Parameters

Parameter Type Description
val BigNumber.Value

Returns:

string