Can createrawtransaction be used to make a coinbase transaction?

by Geremia   Last Updated November 08, 2018 23:27 PM

Can createrawtransaction alone be used to make a coinbase transaction?

For example,

createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"bc1qrynq4wnc3ctm0vjujcs2mplt6e6sycs0c7745e":12.5}'

produces

020000000100000000000000000000000000000000000000000000000000000000000000000000000000ffffffff01807c814a0000000016001419260aba788e17b7b25c9620ad87ebd67502620f00000000

but this seems incomplete (only 82 bytes).



Related Questions




How to create raw transactions with custom fees?

Updated July 27, 2017 21:27 PM