IProofService.verifyState() method
state verification function
Signature:
verifyState(circuitId: string, pubSignals: Array<string>): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
circuitId | string | id of authentication circuit |
pubSignals | Array<string> | public signals of authentication circuit |
Returns:
Promise<boolean>
Promise<boolean>