uplc.uplcdecoder.fromhex
Home > @blaze-cardano/uplc > UPLCDecoder > fromHex
UPLCDecoder.fromHex() method
Creates a UPLCDecoder instance from a hexadecimal string.
Signature:
static fromHex(hex: string): UPLCDecoder;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| hex | string | Hexadecimal string of a UPLC program's binary data. | 
Returns:
{UPLCDecoder} Initialized UPLCDecoder with the decoded data.