getRegistrationStatus


Returns registration status for the user and for the group as a whole

import { getRegistrationStatus } from "@intuweb3/web";
await getRegistrationStatus("0xvault", "0xuser", provider);

Arguments:

InputTypeDescription
vaultAddressstringaddress of the vault you want to interact with
userAddressstringaddress of the user to get info for
providerobjectethers provider

Returns:

An array of results, the registration status of the user and the registration status of the vault. Example: If the user is in Step1, but the group is still in PreRegistration, then the user has to wait for everyone to finish their PreRegistration

NameTypeDescription
stepToDostringThe step the current user is on in the registration process
groupStepstringThe step the group as a whole is in in the registration process