Users of the Hedera wallet will have noticed that, after upgrading to the 1.1.1 version (build 105, August 5, 2019) of the wallet, balance lookups (initiated via the ‘Synchronize Data’ command or the refresh icon) cause the account balance to drop.
Given that Hedera has announced a beta price list that indicates balance lookups will be free, users might be wondering why.
The CryptoGetAccountBalance call is indeed free – nodes will not charge the account that sends this query. However, the Sync feature on the wallet bundles CryptoGetAccountBalance with a CryptoGetAccountRecords call that is not free (reflecting the greater burden this query places on the node that responds to the query.)
It is the CryptoGetAccountRecords query that is causing the account balance to drop, not the CryptoGetAccountBalance query that preceeds it.
We are exploring UI options for unbundling the two queries, allowing wallet users to query their balances without also retrieving transaction records. and expect to have a solution soon. In this model, a balance lookup will not cause the balance to drop, while a request for transaction records will.
It should be noted that the value of a transaction record is that records contains details about the result of submitted transactions, for instance the consensus timestamp that was assigned to the transaction, the identifiers of any accounts created etc. Wallets will depend on records to be able to display to users detailed transaction history information.
We hope & expect that emerging 3rd party wallets will explore different UX models.