I have created an account in a bitcoind wallet which has got some 1.055btc which has to be wiped out to 0.00BTC to another account. so the actual BTC has to be sent is 1.055 - transaction fee.
Is there any calculation for bitcoin to find transaction fee or any jsonrpc to find estimation fee like ethereum (balance - (gasprice*gaslimit)).