Voting

Get current voting period

Returns current voting period.

get/v1/voting/periods/current

Response

indexinteger

Index of the voting period, starting from zero

epochinteger

Index of the voting epoch, starting from zero

firstLevelinteger

The height of the block in which the period starts

startTimestring date-time

The timestamp of the block in which the period starts

lastLevelinteger

The height of the block in which the period ends

endTimestring date-time

The timestamp of the block in which the period ends

kindstring required

Kind of the voting period: proposal - delegates can submit protocol amendment proposals using the proposal operation exploration - bakers (delegates) may vote on the top-ranked proposal from the previous Proposal Period using the ballot operation testing - If the proposal is approved in the Exploration Period, the testing (or 'cooldown') period begins and bakers start testing the new protocol promotion - delegates can cast one vote to promote or not the tested proposal using the ballot operation adoption - after the proposal is actually accepted, the ecosystem has some time to prepare to the upgrade

statusstring required

Status of the voting period: active - means that the voting period is in progress no_proposals - means that there were no proposals during the voting period no_quorum - means that there was a voting but the quorum was not reached no_supermajority - means that there was a voting but the supermajority was not reached no_single_winner - means that there were multiple winning proposals with the same voting power success - means that the period was finished with positive voting result

dictatorstring required

Status of the governance dictator: none - means that there were no actions by the dictator abort - means that the epoch was aborted by the dictator reset - means that the period was reset by the dictator submit - means that the dictator submitted a proposal

totalBakersinteger

The number of bakers on the voters list

totalVotingPowerinteger

Total voting power of bakers on the voters list

upvotesQuorumnumber double nullable

Upvotes quorum percentage (only for proposal period)

proposalsCountinteger nullable

The number of proposals injected during the voting period (only for proposal period)

topUpvotesinteger nullable

This is how many upvotes (proposal operations) the most upvoted proposal has (only for proposal period)

topVotingPowerinteger nullable

This is how much voting power the most upvoted proposal has (only for proposal period)

ballotsQuorumnumber double nullable

Ballots quorum percentage (only for exploration and promotion periods)

supermajoritynumber double nullable

Supermajority percentage (only for exploration and promotion periods)

yayBallotsinteger nullable

The number of the ballots with "yay" vote (only for exploration and promotion periods)

yayVotingPowerinteger nullable

Total voting power of the ballots with "yay" vote (only for exploration and promotion periods)

nayBallotsinteger nullable

The number of the ballots with "nay" vote (only for exploration and promotion periods)

nayVotingPowerinteger nullable

Total voting power of the ballots with "nay" vote (only for exploration and promotion periods)

passBallotsinteger nullable

The number of the ballots with "pass" vote (only for exploration and promotion periods)

passVotingPowerinteger nullable

Total voting power of the ballots with "pass" vote (only for exploration and promotion periods)

Changes

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