Does createrawtransaction
always use the following script?
scriptPubKey: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
scriptSig: <sig> <pubKey>
If so, how do you create a transaction that uses a custom scriptPubKey
value? If not, what is the syntax for writing the JSON that enables custom scriptPubKey values for the transaction using createrawtransaction
?