Skip to main content
Version: 0.9.1

Election Table

GET /tables/election?args

List full details about past and current elections. Elections represent metadata about each consecutive run of related voting periods. Elections may contain 4, 2 or 1 vote periods. They are called empty when only one empty proposal vote without a proposal exists.

FieldDescription
row_id uint64Unique row identifier.
proposal_id uint64Unique row_id of the winning proposal, if any.
num_periods int64Election duration in number of voting periods.
num_proposals int64Total number of submitted proposals.
voting_perid int64On-chain voting period number.
start_time datetimeBlock time of election start block.
end_time datetimeBlock time of election end block.
start_height int64Block height of election start block.
end_height int64Block height of election end block.
is_empty boolFlag indicating no proposal was submitted.
is_open boolFlag indicating the election is in progress.
is_failed boolFlag indicating the election has failed to select or activate a new protocol.
no_quorum boolFlag indicating the election has failed because no quorum could be reached.
no_majority boolFlag indicating the election has failed because no majority could be reached.
proposal hashHash of the proposal that is voted on, if any.
last_voting_period enumType of the last period at which this election ended proposal, exploration, cooldown, promotion, adoption.