fusion44 / fusion44/blitz_api

Refactor get-block-count to return an int with block height

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue REST v0.7.0-beta
Dominant language
Python
Stars
25
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Currently a call to get-block-count yields a JSON string like this:
`"{\"result\":786420,\"error\":null,\"id\":\"0\"}\n"`

Refactor this to return an int with the current block height and raise HTTPExceptions on eventual errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.