Home > eth-connect > toStringData
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;
Parameter | Type | Description |
---|---|---|
val | BigNumber.Value |
Returns:
string