This already summaries the problem I am at the moment making an attempt to determine to calculate the transaction payment to stop unfavourable stability.
(testnet) I attempted utilizing createrawtransaction
answered.
Once I tried to ship all stability to an handle, the txid
was created efficiently utilizing createrawtransaction
however once I ran the fundrawtranaction
on that txid
it confirmed
error code: -4
error message:
Inadequate funds
The objective is to calculate transaction payment earlier than hand to examine both ample stability is obtainable of an account utilizing sendfrom
To handle a number of customers to isolate customers’ balances as this.
EDIT1:
If utilizing estimatesmartfee
it’s exhibiting the payment:
bitcoin-cli -testnet estimatesmartfee 6
{
"feerate": 0.00501921,
"blocks": 6
}
When calling sendfrom
for complete stability switch:
bitcoin-cli -testnet sendfrom <account> <handle> <quantity>
error code: -4
error message:
Error: This transaction requires a transaction payment of not less than 0.00067257
Is there a method to get 0.00067257
the payment half earlier than ship the transaction quantity and set it in order that account stability will not go unfavourable for multi accounts pockets.
Edit 2:
I came upon that accounts are deprecated.
And multi pockets creation/load/unload on runtime is underway to 0.17.0
So what can be the most effective method to deal with a number of customers bitcoins in isolation on a full node to stop unfavourable stability.