Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IJoinPollArgs

Interface: IJoinPollArgs

Defined in: packages/sdk/ts/user/types.ts:277

Interface for the arguments to the joinPoll command

Properties

blocksPerBatch?

optional blocksPerBatch: number

Defined in: packages/sdk/ts/user/types.ts:316

The number of blocks to fetch per batch


endBlock?

optional endBlock: number

Defined in: packages/sdk/ts/user/types.ts:306

The end block number


ivcpDataArg

ivcpDataArg: string

Defined in: packages/sdk/ts/user/types.ts:351

The initial voice credit proxy data


maciAddress

maciAddress: string

Defined in: packages/sdk/ts/user/types.ts:301

The address of the MACI contract


pollId

pollId: bigint

Defined in: packages/sdk/ts/user/types.ts:291

The id of the poll


pollJoiningZkey

pollJoiningZkey: string

Defined in: packages/sdk/ts/user/types.ts:321

The path to the poll zkey file


pollWasm?

optional pollWasm: string

Defined in: packages/sdk/ts/user/types.ts:341

The path to the poll wasm file


pollWitgen?

optional pollWitgen: string

Defined in: packages/sdk/ts/user/types.ts:336

The path to the poll witnessgen binary


privateKey

privateKey: string

Defined in: packages/sdk/ts/user/types.ts:286

The private key of the user


rapidsnark?

optional rapidsnark: string

Defined in: packages/sdk/ts/user/types.ts:331

The path to the rapidsnark binary


sgDataArg

sgDataArg: string

Defined in: packages/sdk/ts/user/types.ts:346

The signup policy data


signer

signer: Signer

Defined in: packages/sdk/ts/user/types.ts:281

A signer object


startBlock?

optional startBlock: number

Defined in: packages/sdk/ts/user/types.ts:311

The start block number


stateFile?

optional stateFile: string

Defined in: packages/sdk/ts/user/types.ts:296

Path to the state file with MACI state. Not available in the browser's SDK


useWasm?

optional useWasm: boolean

Defined in: packages/sdk/ts/user/types.ts:326

Whether to use wasm or rapidsnark