Can I use wallet balance in satoshis as input for transaction builder using bitcoinjs-lib ?

If yes, how?

closed as too broad by JBaczuk, Max Vernon, Andrew Chow Sep 12 '18 at 15:45

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


No. Bitcoins are not kept in addresses, but Unspent Outputs ("UTXO"). You must specify TXIDs and outputs indices ("vout"). Specifying amount to make a transaction is not needed, but BitcoinJS may ask you for it to calculate the change output and the fee.

Not the answer you're looking for? Browse other questions tagged or ask your own question.