Skip to content

bitcoinlib.wallets.WalletError: Not enough unspent transaction outputs found #437

Description

@3022-2

not really sure how to deal with this error

sender = w.send_to(recipient, amount, min_confirms=0)

i tried send amount in sats and btc (idk what it takes)

File "e:\wallet\main.py", line 136, in
CLI.frontend()
File "e:\wallet\main.py", line 82, in frontend
CLI.frontend()
File "e:\wallet\main.py", line 58, in frontend
CLI.frontend()
File "e:\wallet\main.py", line 78, in frontend
loader.load_wallet(WALLET_LIST_QUERY[wallet_number-1]["name"])
File "e:\wallet\scripts\load_wallet.py", line 95, in load_wallet
loader.send(wallet_name)
File "e:\wallet\scripts\load_wallet.py", line 42, in send
sender = w.send_to(recipient, amount, min_confirms=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\wallet\venv\Lib\site-packages\bitcoinlib\wallets.py", line 4388, in send_to
return self.send(outputs, input_key_id=input_key_id, account_id=account_id, network=network, fee=fee,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\wallet\venv\Lib\site-packages\bitcoinlib\wallets.py", line 4316, in send
transaction = self.transaction_create(output_arr, input_arr, input_key_id, account_id, network, fee,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\wallet\venv\Lib\site-packages\bitcoinlib\wallets.py", line 3985, in transaction_create
raise WalletError("Not enough unspent transaction outputs found")
bitcoinlib.wallets.WalletError: Not enough unspent transaction outputs found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions