go-algorand-sdk
go-algorand-sdk copied to clipboard
feat: add min-balance to account information model
Summary
Simply exposes the min-balance in the Account model as defined in the REST API response.
As the API defines the min-balance as required, there should always be a value. As of now (19th January 2024), minimum balance should always be >= 100,000 microAlgos.
Closes #272.
@kieranroneill thanks for contributing, can you try rebasing this to give it another go?
@kieranroneill thanks for contributing, can you try rebasing this to give it another go?
Hey @gmalouf I have updated the PR with the latest version :)
I jusr realized that the Account struct is actually generated based on the specification file in indexer using the sdk codegen action that runs on this repository.
There is a draft PR open to add this: https://github.com/algorand/indexer/pull/1596, I'm looking into what tests need to go in before moving forward.
#641 was just merged that addresses this (now that https://github.com/algorand/indexer/pull/1596) was merged