algorand / go-algorand-sdk

Algorand Golang SDK

Home Page:https://pkg.go.dev/github.com/algorand/go-algorand-sdk/v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Account struct has no definition for 'min-balance' field

pbennett opened this issue · comments

The Account struct in models which is returned from the AccountInformation(xx) SDK call doesn't contain the minimum balance field.
It should be in the Account structure as:
MinBalance uint64 json:"min-balance,omitempty"

The minimum balance has been returned from the v2/accounts API for some time. Not being exposed in the go-sdk is a big miss.

I think this is a duplicate of #272 . This fell off our radar for a while but it's back and we will work on it soon.