sdk.core.tohex
Home > @blaze-cardano/sdk > Core > toHex
Core.toHex() function
Converts a byte array to a hex string.
Signature:
declare function toHex(byteArray: Uint8Array): string;
Parameters
Parameter |
Type |
Description |
---|---|---|
byteArray |
Uint8Array |
The byte array to convert. |
Returns:
string
{string} The resulting hex string.