I have a wallet that I want to clear out by moving everything from one address to a trading account and then back into another wallet but of a different currency.
Is there a program or algorithm that will allow me to calculate the exact amount to send so that when the fee is removed you have next to nothing left in the wallet?
Thanks for your help. (but not to the smart arses)
If you're using bitcoin-qt, you can set the fee yourself. Set it to 0.00001 and subtract 0.00001 from the amount of btc you have. the result of your calculation can be transferred to your trading account.
It could be that the fee is not enough because of dust in your wallet. bitcoin-qt will tell you the minimum fee required.