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

If yes, how?


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.

| improve this answer | |

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