-
Notifications
You must be signed in to change notification settings - Fork 9
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
💡 [BREAKING CHANGES] Get Account :: Utility functions #998
Comments
Its unclear to me why we return hex strings for getAccount for the VET & VTHO balance |
Since I reworked che address introducing a full fledged class 'Address' extending 'HEX', I suggest I. take the responsibility of such task implementing what missing and required. |
No problem Luca |
@lucanicoladebiasi has implemented using the OO approach. Will showcase as a demo during the refinement session. |
The solution I propose is to rename the interface
in the method Renaming
returning objects of the VeChain Data Model type. See at |
Summary
It would be nice if getAccount returned a class or an object with some utility functions built in so it is easier to debug and read account balances etc.
Current code:
Basic Example
It would be nice to have some extra functions such as:
The text was updated successfully, but these errors were encountered: