Converts the compiled code of a UPLC program into a Script based on the specified script type, handling possible double-CBOR encoding.
The script, possibly double-CBOR-encoded.
The type of the script (Native, PlutusV1, or PlutusV2).
Converts the compiled code of a UPLC program into a Script based on the specified script type, handling possible double-CBOR encoding.