bitcoin-transaction icon indicating copy to clipboard operation
bitcoin-transaction copied to clipboard

Unable to get Transaction response in Mainnet (Transaction Hash).

Open VishalDalve opened this issue 7 years ago • 1 comments

I'm able to create transaction, but when I checke on explorer, it is their but not getting in code itself.Thanks

bitcoinTransaction.getBalance(from, { network: "mainnet" }).then((balanceInBTC) => { return bitcoinTransaction.sendTransaction({ from: from, to: to, privKeyWIF: privKeyWIF, btc: balanceInBTC, fee:"hour", network: "mainnet" }); }).then((res) => { console.log(res.body); console.log("---------------------------------------------------------"); console.log("Hash: ",res.body.tx.hash);}

Response Getting : {}

VishalDalve avatar Oct 05 '18 09:10 VishalDalve

I need more detail. Did the all the network requests go through? If not, which ones failed? Try switching to a different network if one of them isn't working.

hexonaut avatar Dec 10 '18 17:12 hexonaut