Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / getCoordinatorPublicKey

Function: getCoordinatorPublicKey()

getCoordinatorPublicKey(pollAddress, signer): Promise<PublicKey>

Defined in: sdk/ts/vote/utils.ts:20

Get the coordinator public key for a poll

Parameters

pollAddress

string

the address of the poll

signer

Signer

the signer to use

Returns

Promise<PublicKey>

the coordinator public key