Skip to main content

Returns milestones based on given query parameters.

GET 

/api/explorer/v2/milestones

Returns a list of milestones matching provided query parameters.

Request

Query Parameters

    startTimestamp integer

    Start timestamp for filtering.

    Example: 1662139730
    endTimestamp integer

    End timestamp for filtering.

    Example: 1662139830
    sort string

    Describes the sort order, either by oldest or newest. This value is NOT overridden by the cursor, and thus can be used to back-page.

    Example: newest
    pageSize number

    Requested page size. Overridden by the cursor if provided.

    Example: 100
    cursor string

    The cursor which can be used to retrieve the next logical page of results.

    Example: 1643383242.fa0de75d225cca2799395e5fc340702fc7eac821d2bdd79911126f131ae097a20100.100

Responses

Successful operation.

Schema
    items undefined[]required

    A list of milestones.

  • Array [
  • milestoneId stringrequired

    The milestone ID.

    index integerrequired

    The index of the milestone.

  • ]
  • cursor string

    The cursor which can be used to retrieve the next logical page of results.

Loading...