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

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)