Now in Protocol 005 we have to pay estimated 1420 mutez for each tz1 -> tz1transfer in fees. Also if it's the first transaction from the address we have to add another 1420 mutez for reveal. I used to empty my accounts by sending a transaction with an amount equal to the balance minus 1420 or 2840 mutez.
This calculation formula worked for me fine. But just now I've faced an error says "not enough balance". I see that the difference between needed balance and actual is 1420 mutez. But I've already subtracted 2480 mutez from the balance.
Which kind of operation should I also count in the formula?
现在在协议005中,我们必须为每个
tz1 -> tz1
转让费用.此外,如果这是地址中的第一笔交易,我们还必须添加另一个1420互斥锁以显示.我过去经常通过发送一笔金额等于余额减去1420或2840互斥量的交易来清空我的帐户.所以
这个计算公式对我来说很好.但是刚才我遇到一个错误,说"余额不足".我看到所需的平衡与实际之间的差异是1420静音.但是我已经从余额中减去了2480个互斥量.
我还应该在公式中算哪种操作?