Skip to main content

IProofService.verifyState() method

state verification function

Signature:

verifyState(circuitId: string, pubSignals: Array<string>): Promise<boolean>;

Parameters

ParameterTypeDescription
circuitIdstringid of authentication circuit
pubSignalsArray<string>public signals of authentication circuit

Returns:

Promise<boolean>

Promise<boolean>