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?

How generic miner connects to bitcoin or ethereum network and does it needs to store entire blockchain?