The system provides two complementary verification mechanisms: a public tally that anyone can read, and a personal ballot lookup that lets each voter confirm their own vote was counted. Both endpoints are read-only and available as soon as votes have been processed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Crypto-Project-ENSTA/back-end/llms.txt
Use this file to discover all available pages before exploring further.
View the public tally
GET /results/tally returns the total count of valid votes and a per-candidate breakdown with percentages. Only votes that passed both signature and N2 validation are included — rejected ballots are excluded from all counts.
Verify your individual vote
POST /results/verify-vote accepts your N2 fingerprint and returns the status of your ballot. This lets you confirm that your vote was received and that its cryptographic validity checks passed.
1. Vote not found
No ballot exists in the system with this N2 fingerprint. This can mean the vote was never submitted, the wrong N2 was provided, or the ballot was never received.2. Vote valid
The ballot was received, the administrator’s blind signature was verified, the N2 fingerprint matched, and the vote was included in the tally.The
vote field is only populated when the status is valid. In all other outcomes it is null, because disclosing the choice of an invalidated ballot would reveal information unnecessarily.