Skip to content

Block api

David Vorick requested to merge block-api into master

added a call /consensus/block to get a block from the consensus set, height is a parameter.

Ranges are not allowed, mostly because I didn't want people to input a range exceeding 10,000, but maybe it's okay. Or maybe I could spend some more time on it and add the feature with a hardcoded limit to the request size.

Testing + documentation is included.

Merge request reports