Skip to main content
Version: mainnet (v0.71)

List all network history segments

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

Responses

A successful response.


Schema
    segments object[]

    Page of history segments data and corresponding page information.

    chainId string
    databaseVersion int64
    fromHeight int64
    historySegmentId string
    previousHistorySegmentId string
    toHeight int64
GET /api/v2/networkhistory/segments

Request

Base URL
https://vega-mainnet-data.commodum.io
curl / cURL
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/networkhistory/segments' \
-H 'Accept: application/json'