fromHex
scrypt-ts-opcat / Script / fromHex
Function: fromHex()
fromHex(
str
):Script
Defined in: node_modules/@opcat-labs/opcat/types/script/script.d.cts:324
Creates a Script instance from a hex string.
Parameters
str
string
Hex string to convert to Script.
Returns
New Script instance created from the hex string.