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

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password