See how the 2nd output is longer than the first? I was giving the wrong scriptPubKey. I think the one I gave was trivially satisfied and didn't need signing.
Thank you so much!
The resulting signed tx can be broadcast with
https://just-dice.com/pushtx, correct? Because, with a first attempt, I just got "Error: TX rejected" as reply. I think it should be possible to try broadcasting a tx with made-up data; the network would then sort them out (I used the signed tx from the example here in this thread.
Oh, and before I try with live data: The amount value is given in fractions, like 3.5 and not in the Satoshi-equivalent of 350000000 right? Not that I create a big fee
