Skip to content
Discussion options

You must be logged in to vote

You don't have to use the scan method, the utxo's will be included in wallet.

However they show up as unconfirmed. To see if your transaction is accepted by the network, and see how many confirmations it has, you have to use the scan or utxos_update method.

>>> from bitcoinlib.wallets import wallet_create_or_open
>>> w = wallet_create_or_open('bcl-testwallet', network='bitcoinlib_test')
>>> w.utxos_update()  # to get some test coins
2
>>> w.send_to('blt1qf3nktn0txwt5ue8800hxgzh29l98t6vh8c85jz', 10000000, broadcast=True)
<WalletTransaction(input_count=1, output_count=2, status=unconfirmed, network=bitcoinlib_test)>
>>> w.info()
=== WALLET ===
 ID                             117
 Name

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mccwdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #471 on September 27, 2025 13:26.