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

Add Block Encoding Param to Block Index API #1632

Open
aaronbuchwald opened this issue Oct 3, 2024 · 0 comments · May be fixed by #1752
Open

Add Block Encoding Param to Block Index API #1632

aaronbuchwald opened this issue Oct 3, 2024 · 0 comments · May be fixed by #1752
Labels

Comments

@aaronbuchwald
Copy link
Collaborator

Add an encoding parameter to the block index API requests to specify either a binary (hex) or JSON encoding.

We currently include both to support easy to handle JSON output for a barebones explorer: #1513 and require a binary output so the HyperSDK itself can decode into an ExecutedBlock type.

HyperSDK requires the binary so that it can decode while passing in the action/auth registries to handle the Action and Auth types included in transactions.

@najeal najeal linked a pull request Nov 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant