Skip to content

Blocks endpoint returns the data in ASC order by height. It needs to be DESC by default or with sort query param #51

@muknta

Description

@muknta

There was no sort query param before, and I assume it was returning the blocks in descending order by height.

Either make it DESC, or, which is better, add a sort query param with possible asc/desc value.

Pagination is working fine

curl http://3.123.154.245:11000/api/blocks?limit=15&offset=10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions