Skip to main content
Version: testnet (v0.77)

List all network history segments

GET 

/api/v2/networkhistory/segments

Get a list of all history segments stored by the data node currently connected to

Request

Responses

A successful response.

Schema
    segments object[]

    Page of history segments data and corresponding page information.

  • Array [
  • chainId string

    Chain ID of the history segment.

    databaseVersion int64

    Database schema version of the history segment.

    fromHeight int64

    Starting height of the history segment.

    historySegmentId string

    History segment ID.

    previousHistorySegmentId string

    Previous history segment ID.

    toHeight int64

    Ending height of the history segment.

  • ]
Loading...