Voting

Get voting epoch by index

Returns a voting epoch at the specified index.

get/v1/voting/epochs/{index}

Path parameters

indexinteger required

Voting epoch index starting from zero

Response

indexinteger

Index of the voting epoch, starting from zero

firstLevelinteger

The height of the block in which the epoch starts

startTimestring date-time

The timestamp of the block in which the epoch starts

lastLevelinteger

The height of the block in which the epoch ends

endTimestring date-time

The timestamp of the block in which the epoch ends

statusstring required

Status of the voting epoch: no_proposals - there were no proposals proposed voting - there was at least one proposal and the voting is in progress completed - voting successfully completed and the proposal was accepted failed - voting was not completed due to either quorum or supermajority was not reached

Changes

No recorded changes to this endpoint across all 1 revision of this API.