<p>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.</p>

CC BY-SA 4.0
2018-08-30T15:36:01.500Z
2018-08-30T15:36:01.500Z
MCCCS
<p>Can I use wallet balance in satoshis as input for transaction builder using <a href="https://github.com/bitcoinjs/bitcoinjs-lib" rel="nofollow noreferrer">bitcoinjs-lib</a> ?</p>

<p>If yes, how?</p>

<bitcoinjs><satoshi>
Can I use wallet balance in satoshis as input for transaction builder ( bitcoinjs-lib )?
Oysho Boy
# Can I use wallet balance in satoshis as input for transaction builder ( bitcoinjs-lib )?

(Asked by: username_0 on 2018-08-30)

Can I use wallet balance in satoshis as input for transaction builder using [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) ?

If yes, how?

**Tags:** bitcoinjs, satoshi


---

## 1 answers

### Answer by username_1 on 2018-08-30. Score: 0 | Accepted answer

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.


---

