How to create input raw transaction using bitcoinj

How to create input raw transaction using bitcoinj

I'm using bitcoinj for bitcoin transactions.

Now I want to send the transaction.

For that I need to create raw transaction.

TransactionOutput filled perfectly in raw transaction but TransactionInput shows "script_type":"empty" instead of "pay-to-pubkey-hash".

How can I fill script_type in raw transaction input using bitcoinj?

Please help.

Thanks.

http://bit.ly/2SoHJfG

Comments

Popular posts from this blog

Do extra hop channels in a BOLT#11 invoice need to exist on chain?

What exactly is a block?

New 22 THS Bitcoin ASIC Miner, the Holic H22