convertSignerStatusToState
Converts the AlchemySigner's status to a more readable object
Import
import { convertSignerStatusToState } from "@account-kit/core";
Parameters
alchemySignerStatus
AlchemySignerStatus
Enum value of the AlchemySigner's status to convert
error
ErrorInfo | undefined
the current signer error, if present
Returns
SignerStatus
an object containing the original status as well as booleans to check the current state