Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) v2.3.0 / isRegisteredUser

Function: isRegisteredUser()

isRegisteredUser(IRegisteredArgs): Promise<object>

Checks if user is registered with public key

Parameters

IRegisteredArgs: IRegisteredUserArgs

The arguments for the register check command

Returns

Promise<object>

user registered or not and state index, voice credit balance

isRegistered

isRegistered: boolean

stateIndex?

optional stateIndex: string

voiceCredits?

optional voiceCredits: string

Defined in

commands/signup.ts:145