verifyBallotSubmissionPayloadsByOption
threshold-elgamal / threshold-elgamal/protocol / verifyBallotSubmissionPayloadsByOption
Function: verifyBallotSubmissionPayloadsByOption()
Section titled “Function: verifyBallotSubmissionPayloadsByOption()”verifyBallotSubmissionPayloadsByOption(
input):Promise<readonlyVerifiedOptionBallotAggregation[]>
Verifies typed ballot-submission payloads and recomputes one aggregate tally ciphertext per manifest option.
This is the public entry point for applications that already have signature-checked ballot payloads and want the per-option verified ciphertext aggregates that feed threshold decryption.
Parameters
Section titled “Parameters”VerifyBallotSubmissionPayloadsInput
Returns
Section titled “Returns”Promise<readonly VerifiedOptionBallotAggregation[]>