Election Object

Election Object

An Election is a result of a signing process/change in critical wallet settings that we have in our system. This is taking a crucial part of the Multi Party Approval.

The Election is stored and managed in the wallet and identified in the system by its unique ID, the UUID.
The following table describes the fields in the REST API messages for elections:

FieldTypeDescription
idstringThe UUID. A unique ID of the election.
created_atdateThe creation time of the election.
Standard format of timestamp with a time zone.
ISO_8601
updated_atdateThe time when the election details were last updated.
Standard format of timestamp with a time zone.
ISO_8601
proposition_typenumberThe type of the election.
One of the following:
* TRANSFER = 1
* ASSET_SPENDING_LIMIT_CHANGE = 10
* USER_SPENDING_LIMIT_CHANGE = 11
* WALLET_QUORUM_CHANGE = 20
* WALLET_USER_ADD = 21
* WALLET_USER_REMOVE = 22
* WALLET_CONNECT_OP = 31
* ORGANIZATION_QUORUM_CHANGE = 40
* ORGANIZATION_ADMIN_ADD = 41
* ORGANIZATION_ADMIN_REMOVE = 42
* ORGANIZATION_WHITELIST_REMOVE = 51
* ORGANIZATION_WHITELIST_UPDATE = 52
proposition_datadictAll details of the proposition data of that election.
num_required_acceptnumberThe number of required owners in order that election to be approved.
closed_atdateThe closing time of the election.
Standard format of timestamp with a time zone.
ISO_8601
expires_atdateThe expiry time of the election.
Standard format of timestamp with a time zone.
ISO_8601
decisionnumberThe decision of the election.
One of the following:
* PENDING =0
* APPROVED=1
* REJECTED=2
* ABSTAINED=3
organization_idstringThe organization id this election belongs to. See Organization Object
initiator_idstringThe user_id of the election that initiated the transfer. Take a look at the users.