1

When I sent bitcoin to an address by using Blockchain.info API, I got "Insufficient Funds Available" error. Like below..

[API Request]

https://blockchain.info/fr/merchant/xxxxxxxxxxxxxxxx/payment?password=password1&second_password=password2&to=yyyyyyyyyyyyyyyyyyyyyyyyyy&amount=1000

[API Response]

{"error":"Insufficient Funds Available: 0 Needed: 11000"}

I don't know why because my account has sufficient balance.

The error is not always happened. I guess that I get an error when my wallet has unconfirmed transactions. But not sure..

If you know the reason, I really, really need to know it. Thanks.

[Update]

I am finding the reason. I have only one bitcoin address in my Blockchain.info account.

The followings are the state of the confirmation about my bitcoin address and the API call result.

Case1 "Insufficient Funds Available" error occurred

balance = 1586000;
hash = 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
Received = 12166000;
sent = 10580000;
"unconfirmed_balance" = "-11000";
"unconfirmed_received" = 1575000;
"unconfirmed_sent" = 1586000;

Case2 OK

balance = 1575000;
hash = 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
received = 13741000;
sent = 12166000;
"unconfirmed_balance" = 0;
"unconfirmed_received" = 0;
"unconfirmed_sent" = 0;

closed as unclear what you're asking by Nick ODell, Jozef, Dennis Kriechel, David A. Harding, Murch Dec 7 '14 at 10:29

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • It says you have 11000 unconfirmed in balance. Can you post the txid (which is safe to do) to show the BTC being deposited to the address in question? Otherwise provide more details on when you deposited the funds and any other details. Can you login normally and see your balance? And are you certain your url should have password fields in it? – Wizard Of Ozzie Oct 9 '14 at 9:35
  • Please post the answer as an "answer post" instead of answering your question in the question. – Murch Nov 1 '14 at 14:59

Browse other questions tagged or ask your own question.