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

Is there any python library could be used to decodescript in output

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

How to discover startup flags or command-line options for bitcoind?