Function Output.address

Kept here for backwards compatibility with tests which do not expect lock scripts.

PublicKey address() pure nothrow @property @nogc @safe const;

Returns

the public key out of the output if the lock is a LockType.Key, else returns PublicKey.init