Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API getAccount shows always same balance #643

Open
deleterium opened this issue Aug 12, 2022 · 3 comments
Open

API getAccount shows always same balance #643

deleterium opened this issue Aug 12, 2022 · 3 comments

Comments

@deleterium
Copy link

In the API getAccount there is a parameter height. It is expected that, when it is set, the result shows the properties at that given height.

Currently it updates the assets accordingly, but not the balances "balanceNQT", "unconfirmedBalanceNQT", "guaranteedBalanceNQT", that are always respective to the current height.

@jjos2372
Copy link

Be aware that this only works correctly if trimming is disabled. Otherwise only changes on past 1440 blocks can be retrieve. Maybe that is the case or maybe there is a real issue.

@frankTheTank72
Copy link
Member

@deleterium still a problem ?

@ohager
Copy link
Member

ohager commented Jan 3, 2024

update on this: if trimming is enabled an error is thrown:

{
  "errorCode": 8,
  "errorDescription": "Requested height not available",
  "requestProcessingTime": 1
}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants