# convertSignerStatusToState | @account-kit/core

> Overview of the convertSignerStatusToState function from @account-kit/core

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function convertSignerStatusToState(alchemySignerStatus, error): SignerStatus;
```

Defined in: [account-kit/core/src/store/store.ts:280](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/store/store.ts#L280)

Converts the AlchemySigner's status to a more readable object

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `alchemySignerStatus`
      </td>

      <td>
        `AlchemySignerStatus`
      </td>

      <td>
        Enum value of the AlchemySigner's status to convert
      </td>
    </tr>

    <tr>
      <td>
        `error`
      </td>

      <td>
        `undefined` | `ErrorInfo`
      </td>

      <td>
        the current signer error, if present
      </td>
    </tr>

  </tbody>
</table>

## Returns

[`SignerStatus`](../type-aliases/SignerStatus)

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