-
Notifications
You must be signed in to change notification settings - Fork 97
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
Expose min-balance
field in **Account Info**
#272
Comments
Should the JSON tag |
Since the response is always expected to provide |
I believe that level of validation would need to happen after marshaling has occurred. What I'm asking is when the |
I believe every account (even accounts with 0 balance) has a minimum balance of 100,000 microAlgos, so we should never expect the response to contain a 0. |
This has bitten me recently and I had to hack around it in a semi-awkward way in my backend code. Isn't this just adding a single field to the models.Account structure? SDKs should be in-sync with the APIs, so I'm curious why these SDK changes have remained opened for over a year in every SDK. I'd PR it myself but I can't build or run the tests on my M1 (I've had longstanding issue open for that as well). |
Is anyone fixing this soon? |
Addressed by #641 |
Problem
min-balance
is available inalgod
but not in the go SDK.Solution
algorand/go-algorand#3287 has introduced
min-balance
to the response ofalgod
's/v2/accounts/{{ACCOUNT}}
as well as to thegoal account info
.min-balance
fieldDependencies
min-balance
algorand-sdk-testing#155Urgency
Low
The text was updated successfully, but these errors were encountered: