Skip to content
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

Shouldn't transactions in a block be an array? #14

Open
jlubeck opened this issue Dec 5, 2019 · 0 comments
Open

Shouldn't transactions in a block be an array? #14

jlubeck opened this issue Dec 5, 2019 · 0 comments

Comments

@jlubeck
Copy link

jlubeck commented Dec 5, 2019

  • SDK Version: 4.0.0
  • Node Version: 10.15.3
  • Platform: macOS

When query blocks on my L2, I noticed that the transactions are coming in inside a string. So I actually had to parse that string and then I got an object (not even an array).

Shouldn't the list of transactions just be an array without having to parse anything?

Here is the line which confirms the transactions are coming back as string

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

No branches or pull requests

1 participant