ScriptTemplate

constructor(groupInfo: GroupInfo?, templateHash: ByteArray?, wellKnownId: Long?, argsHash: ByteArray?, rest: List<ByteArray>)

Parameters

groupInfo

the token group (if any)

templateHash

the raw bytes of the template (if its not well known)

wellKnownId

the well known template identifier (if its a well known template)

argsHash

the raw args hash bytes

rest

the rest of the script, split into instructions. NOTE: if these are data pushes, each item is NOT the raw data. Each item is a push opcode then the data.