1
In Bitcoin protocol, to set the output of a transaction you need a scriptPubKey which is in the following format.
scriptPubKey = OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
Is <pubKeyHash> the address of the receiver of bitcoin or is it the hash of a address of the receiver?