-1
I am using Bitcoinj and doing the transaction and I am getting the TX hash but the hash is not showing in any explorer site
SendRequest finalReq = SendRequest.to(toAddress, Coin.parseCoin(ammount).subtract(fAmt));
kit.wallet().completeTx(finalReq);
kit.wallet().commitTx(finalReq.tx);
kit.peerGroup().broadcastTransaction(finalReq.tx);
Am I doing something wrong.
Some confusion to understand the question. 1) Are you working with Online wallet in bitcoinj? (You have both public and private keys) 2) Or you are using watching wallet to spend coins? If you are using watching wallet then process of creating and broadcasting transaction is harder than the online wallet. – Cleo Indigo – 2018-05-30T06:52:12.987
I am using the SPV chain way – Aman Vyas – 2018-05-31T16:02:59.787