Calculate the minimum tx fee when creating transactions.