Function useIsAccountDeployed

  • Beta

    Check if a account has been deployed for the given admin

    Parameters

    • contract: RequiredParam<SmartContract<BaseContract>>

      an instance of a account factory contract

    • admin: RequiredParam<string>
    • Optional extraData: BytesLike

    Returns UseQueryResult<boolean>

    a boolean indicating if a account has been deployed for the given admin

    Example

    const { data: isAccountDeployed, isLoading, error } = useIsAccountDeployed(contract);
    

    Twfeature

    AccountFactory

    See

    Documentation

Generated using TypeDoc