convertSignerStatusToState

1function convertSignerStatusToState(alchemySignerStatus, error): SignerStatus;

Defined in: account-kit/core/src/store/store.ts:280

Converts the AlchemySigner’s status to a more readable object

Parameters

ParameterTypeDescription

alchemySignerStatus

AlchemySignerStatus

Enum value of the AlchemySigner’s status to convert

error

undefined | ErrorInfo

the current signer error, if present

Returns

SignerStatus

an object containing the original status as well as booleans to check the current state