Get epoch
Get data for a specific epoch, if ID is omitted, it retrieves the current epoch
Query Parameters
Epoch ID to get, if provided. If omitted, data for the current epoch is returned.
- 200
 - 500
 - default
 
A successful response.
Schema
epoch object
Data specific to a single epoch on the Vega network. This includes the epoch number, start and end times, and the nodes that participated in the epoch.
delegations object[]
List of all delegations in epoch.
timestamps object
Timestamps for start/end etc.
validators object[]
Validators that participated in this epoch.
delegations object[]
Node's delegations.
epochData object
Information about epoch.
rankingScore object
Node ranking information.
Possible values: [VALIDATOR_NODE_STATUS_UNSPECIFIED, VALIDATOR_NODE_STATUS_TENDERMINT, VALIDATOR_NODE_STATUS_ERSATZ, VALIDATOR_NODE_STATUS_PENDING]
Possible values: [VALIDATOR_NODE_STATUS_UNSPECIFIED, VALIDATOR_NODE_STATUS_TENDERMINT, VALIDATOR_NODE_STATUS_ERSATZ, VALIDATOR_NODE_STATUS_PENDING]
rewardScore object
Node reward score.
Possible values: [VALIDATOR_NODE_STATUS_UNSPECIFIED, VALIDATOR_NODE_STATUS_TENDERMINT, VALIDATOR_NODE_STATUS_ERSATZ, VALIDATOR_NODE_STATUS_PENDING]
Possible values: [NODE_STATUS_UNSPECIFIED, NODE_STATUS_VALIDATOR, NODE_STATUS_NON_VALIDATOR]
{
  "epoch": {
    "delegations": [
      {
        "amount": "string",
        "epochSeq": "string",
        "nodeId": "string",
        "party": "string"
      }
    ],
    "seq": "string",
    "timestamps": {
      "endTime": "string",
      "expiryTime": "string",
      "firstBlock": "string",
      "lastBlock": "string",
      "startTime": "string"
    },
    "validators": [
      {
        "avatarUrl": "string",
        "delegations": [
          {
            "amount": "string",
            "epochSeq": "string",
            "nodeId": "string",
            "party": "string"
          }
        ],
        "epochData": {
          "offline": 0,
          "online": 0,
          "total": 0
        },
        "ethereumAddress": "string",
        "id": "string",
        "infoUrl": "string",
        "location": "string",
        "maxIntendedStake": "string",
        "name": "string",
        "pendingStake": "string",
        "pubKey": "string",
        "rankingScore": {
          "performanceScore": "string",
          "previousStatus": "VALIDATOR_NODE_STATUS_UNSPECIFIED",
          "rankingScore": "string",
          "stakeScore": "string",
          "status": "VALIDATOR_NODE_STATUS_UNSPECIFIED",
          "votingPower": 0
        },
        "rewardScore": {
          "multisigScore": "string",
          "normalisedScore": "string",
          "performanceScore": "string",
          "rawValidatorScore": "string",
          "validatorScore": "string",
          "validatorStatus": "VALIDATOR_NODE_STATUS_UNSPECIFIED"
        },
        "stakedByDelegates": "string",
        "stakedByOperator": "string",
        "stakedTotal": "string",
        "status": "NODE_STATUS_UNSPECIFIED",
        "tmPubKey": "string"
      }
    ]
  }
}
An internal server error
Schema
details object[]
{
  "code": 0,
  "details": [
    {
      "@type": "string"
    }
  ],
  "message": "string"
}
An unexpected error response.
Schema
details object[]
{
  "code": 0,
  "details": [
    {
      "@type": "string"
    }
  ],
  "message": "string"
}