Skip to main content

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

Responses

OK


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

Loading...

Resources

Guides
Soon

Tutorials
Soon

Copyright © 2024 Vocdoni, Inc. All rights reserved.