Skip to content

EncryptedVote

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / EncryptedVote

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11866

Encrypted vote data

ciphertext: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11868

The encrypted vote data (includes authentication tag)


nonce: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11870

Nonce used for encryption (needed for decryption)


encryptionKeyHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11872

Hash of the encryption key used (for key identification)


proposalId: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11874

Proposal ID this vote is for


voter: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11876

Voter’s identifier (public key or address)


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11878

Timestamp when vote was cast