getScript

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

Return

The script.