Election results
Returns a given election consensus results and useful information about the results. Results represented with BigInt strings.
This method can be used by anyone, but it is also used by Chainlink for fetching Vochain results and store it to the Results contract on an EVM network.
For discovering more about the on-chain results, please refer to chainlink-tally repository.
Path Parameters
- electionID string required
Election id
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- censusRoot string
CensusRoot is the root of the census tree
- electionId string
ElectionID is the ID of the election
- organizationId string
OrganizationID is the ID of the organization that created the election
- results array[]
Results is the list of votes
- sourceContractAddress string
SourceContractAddress is the address of the smart contract containing the census
{
"censusRoot": "string",
"electionId": "string",
"organizationId": "string",
"results": [
[
{}
]
],
"sourceContractAddress": "string"
}