This already summaries the problem I am at the moment attempting to determine to calculate the transaction charge to stop destructive stability.
(testnet) I attempted utilizing createrawtransaction answered.
Once I tried to ship all stability to an tackle, 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 purpose is to calculate transaction charge earlier than hand to verify both ample stability is offered 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 charge:
bitcoin-cli -testnet estimatesmartfee 6
{
"feerate": 0.00501921,
"blocks": 6
}
When calling sendfrom for complete stability switch:
bitcoin-cli -testnet sendfrom
error code: -4
error message:
Error: This transaction requires a transaction charge of at the least 0.00067257
Is there a solution to get 0.00067257 the charge half earlier than ship the transaction quantity and set it in order that account stability will not go destructive for multi accounts pockets.
Edit 2:
I discovered that accounts are deprecated.
And multi pockets creation/load/unload on runtime is underway to 0.17.0
So what could be the very best method to deal with a number of customers bitcoins in isolation on a full node to stop destructive stability.

