Bitcoin transaction fee calculate before send

Bitcoin transaction fee calculate before send

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance.

(testnet) I tried using createrawtransaction answered. When I tried to send all balance to an address, the txid was created successfully using createrawtransaction but when I ran the fundrawtranaction on that txid it showed

error code: -4
error message:
Insufficient funds

The goal is to calculate transaction fee before hand to check either sufficient balance is available of an account using sendfrom

https://ift.tt/2NouBVq

Comments

Popular posts from this blog

What exactly is a block?

Firmware With Unlocked Overclock for Bitmain Antminer Z9 Equihash ASIC Miners

How to use this nodejs script (by:Raghav Sood) that have been posted on the stackexchange