Minimal Anti Collusion Infrastructure (MACI) / isJoinedUser
Function: isJoinedUser()
isJoinedUser(
-
):Promise
<{isJoined
:boolean
;pollStateIndex
:string
;voiceCredits
:string
; }>
Defined in: packages/sdk/ts/user.ts:95
Checks if user is joined to a poll with the public key
Parameters
-
IJoinedUserArgs
The arguments for the join check command
Returns
Promise
<{ isJoined
: boolean
; pollStateIndex
: string
; voiceCredits
: string
; }>
user joined or not and poll state index, voice credit balance