Open VishalDalve opened 5 years ago
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 : {}
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.
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 : {}