indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Expose account info field `min-balance`

Open tzaffi opened this issue 3 years ago • 7 comments

Problem

https://github.com/algorand/go-algorand/pull/3287 has introduced min-balance to the response of algod's /v2/accounts/{{ACCOUNT}} as well as to the goal account info. However, this is not yet available in the indexer.

Dependencies

https://github.com/algorand/go-algorand/pull/3287

Urgency

Medium

tzaffi avatar Dec 16 '21 23:12 tzaffi

Relevant slack thread discussing the viability of introducing a test to check the parity of indexer v. algod

tzaffi avatar Jan 14 '22 23:01 tzaffi

discussing the viability of introducing a test to check the

How can I get access to the slack channel?

2i2i avatar Jan 16 '22 23:01 2i2i

Yea, we need this too

jeapostrophe avatar Mar 10 '22 15:03 jeapostrophe

I see that a PR including this was added but the REST API docs still say it isn't included... is it actually? https://developer.algorand.org/docs/rest-apis/indexer/#account

jeapostrophe avatar Mar 10 '22 16:03 jeapostrophe

Doesn't appear to be :'(

jeapostrophe avatar Mar 10 '22 16:03 jeapostrophe

We would like to see this being added as well. Since v2/accounts/ has been disabled on AlgoExplorers algod endpoints, some users of the dart-sdk have been requesting the min-balance on the Indexer endpoint.

RootSoft avatar Mar 24 '22 10:03 RootSoft

For future reference:

All the necessary data for computing the present Min-Balance is present in the JSONB column account.account_data

tzaffi avatar Jul 19 '22 11:07 tzaffi