I have installed Blockchain.com platform on our server and ran some codes successfully based on its Wallet APIs. Regarding to what is said here, as we are testing this platform, we charged the created wallet with .00000546 BTC. But while using payment API, we received this result:
{
"error": "Insufficient funds",
"available": 0.00000546,
"needed": 0.00001092,
"sweep_amount_satoshi": 0,
"sweep_fee_satoshi": 678
}
I can't understand why am I getting this error, and specially, how the amount of needed variable is calculated? May you help me please?
0.0001+0.00000546 BTC
. I don't know what issweep_fee_satoshi
for. But even if we should add it too (0.00000678 BTC), the final result will be0.00011224 BTC
which is different with the needed value! – Mohammad Saberi Oct 9 '19 at 8:59