# "Failure to send not enough BTC in wallet"

This error usually looks something like:

`Error composing send transaction via API: Insufficient BTC at address [Your BTC Address]. (Need approximately 0.00XXXX BTC.) To spend unconfirmed coins, use the flag --unconfirmed. (Unconfirmed coins cannot be spent from multi‐sig addresses.)`

* First off, <mark style="color:yellow;">this could simply mean you actually do not have enough BTC in your wallet to pay the fee.</mark>&#x20;

This does not have anything to do with your address being a “multi-sig address”. \
\
If you know you do have enough BTC in your account to cover the costs, the reasoning for this error could be many different things.

* The second most common reason this is shown is because you may have some 'unconfirmed' transactions that were sent out from the address, but the Freewallet User Interface has not shown the data yet in the History tab.

Because there can be quite a long time between bitcoin blocks, it's always best to search your address on a BTC block explorer like blockstream.info and a Counterparty block explorer like Tokenscan.io. Before trying to spend the BTC shown in your wallet, take a look to see if any past transactions are still unconfirmed. \
\ <mark style="color:yellow;">This error message could simply mean that you have sent out transactions that have not been confirmed, so the balance still shows in your BTC section of Freewallet but a portion of that BTC is not spendable.</mark>

* What could also be likely is that <mark style="color:yellow;">you are trying to send the MAX amount of BTC</mark> and the fee you are using makes it so you do not have enough Bitcoin to send this transaction. The first thing to try here is the change the BTC amount sent and try again.&#x20;
* Also remember <mark style="color:yellow;">sometimes just closing and re-opening the Freewallet application will update the data Freewallet is pulling from to the latest block</mark> data on the blockchain.
* If none of those fix's work, <mark style="color:yellow;">it is more likely this means the amount of BTC on your address is ‘fragmented’</mark> and the total balance you see is actually been split up into many smaller parts which are called UTXO’s (Unspent Transaction Output’s).

This would make more sense as you could well enough have more than enough to cover the BTC fee with your ‘total’ BTC balance, but it is comprised of many smaller amounts of BTC or UTXO’s that make up that total amount.

You can think of this issue in a different way: You don’t have a $100 bill in your account you have 10,000 pennies in UTXO’s and to cover your costs for the fee you need $1. \
\ <mark style="color:red;">Freewallet wallet does not let you spend the $1 fee with 100 pennies and will show you this error.</mark>

A couple of solutions have been proposed and documented to deal with and fix this issue [like here](https://forums.counterparty.io/t/what-does-insufficient-btc-at-address-x-need-approximately-y-btc-mean/2442) but <mark style="color:yellow;">the simplest one out of all of them is to send more BTC to the address yourself</mark> (more than enough to cover the transaction cost) and then send ALL of the BTC in your account to yourself.

In the Bitcoin world this is called “consolidating UTXO’s” and is very common. A good article to review about how UTXO's work and how to deal with them when using Freewallet then check out [this Medium Article on the subject](https://medium.com/@davesta.xcp/understanding-btc-fees-and-utxos-when-using-counterparty-ae22f40b642a).

There is no “consolidating UTXO’s” function natively yet in Freewallet though there are 3rd party wallets that do support this.

If you would like to see this feature supported in Freewallet, join [the discussion on the Freewallet github](https://github.com/jdogresorg/freewallet-desktop/discussions). Every opinion posted there, no matter how small, will help future users and the developer to understand what is wanted in the community regarding Freewallet Functions.

Many community members recommend other wallets to do this process with such as [Electrum](https://electrum.org/), but other wallets support this feature too.

<mark style="color:red;">**Just make sure when you are importing your Private Key for the address you are having this error that you do so with a wallet service you trust.**</mark>

For more information on what your private key is for this specific address in question and how to view it, review the section titled [Displaying the Seed Phrase and Private Key of your Addresses(s)](https://davestaxcp.gitbook.io/freewallet.io-user-manual/freewallet-functions/displaying-the-seed-phrase-and-private-key-of-your-address-s).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://davestaxcp.gitbook.io/freewallet.io-user-manual/troubleshooting-issues/failure-to-send-not-enough-btc-in-wallet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
