This endpoint validates a voter’s N1 authentication code — a one-time token issued at registration. It is called during Step 1 of the voting flow atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Crypto-Project-ENSTA/front-end/llms.txt
Use this file to discover all available pages before exploring further.
/vote. A true response confirms the voter is eligible to proceed; a false response blocks further progress through the voting stepper.
Request body
The voter’s N1 authentication code received during registration.
Response fields
true if the N1 code is valid and the voter is eligible to vote. false if the code is not recognised.Example request
Example responses
This endpoint is called during Step 1 of the voting stepper at
/vote. When is_N1_exist is false, the voter is not permitted to proceed to subsequent steps.