Skip to content
On this page

Function: ballotStampContent()

TypeScript
function ballotStampContent(ballot: Ballot): {
  hash: string;
  length: number;
  mime: string;
};

Defined in: vote-core/src/anchor.ts:39 (opens in a new tab)

The content an OC Stamp over ballot carries (SPEC §4.6): the bytes ballot_id hashes.

ParametersLink to this section

ParameterType
ballotBallot

ReturnsLink to this section

TypeScript
{
  hash: string;
  length: number;
  mime: string;
}