Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Built-in data parsing / data normalization #11

Open
slavafomin opened this issue Aug 22, 2023 · 1 comment
Open

Built-in data parsing / data normalization #11

slavafomin opened this issue Aug 22, 2023 · 1 comment

Comments

@slavafomin
Copy link

Hello!

Thank you for this great library!

However, right now, the API is way too low-level and the data types are not normalized. Examples:

  • the getAccountState() returns hash as bigint, while getAccountTransactions() requires hash as Buffer (normalization problem)
  • the getAccountTransactions() returns transactions data as a big unreadable chunk of bytes that needs to be parsed somehow by the library user

This makes this library way too low-level and probably unusable for the most developers.

@jyang10086
Copy link

Do you find a way to normalize transaction hash? I am stuck too.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants