getScript

abstract fun getScript(): ByteString
Usually contains the public key as a Decred script setting up conditions to claim this output.
bytes script = 3;

Return

The script.