# watchSignerStatus | @account-kit/core

> Overview of the watchSignerStatus 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 watchSignerStatus(config): (onChange) => any;
```

Defined in: [account-kit/core/src/actions/watchSignerStatus.ts:20](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/actions/watchSignerStatus.ts#L20)

Watches the signer status in the client store and triggers the provided callback function when the status changes.

## Example

```ts
import { watchSignerStatus } from "@account-kit/core";
// see createConfig for more information on how to create a config
import { config } from "./config";

watchSignerStatus(config)(console.log);
```

## Parameters

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

  <tbody>
    <tr>
      <td>
        `config`
      </td>

      <td>
        [`AlchemyAccountsConfig`](../type-aliases/AlchemyAccountsConfig)
      </td>

      <td>
        The configuration object containing the client store
      </td>
    </tr>

  </tbody>
</table>

## Returns

A function that accepts a callback to be called when the signer status changes which returns a function to unsubscribe from the store

```ts
(onChange): any;
```

### Parameters

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

  <tbody>
    <tr>
      <td>
        `onChange`
      </td>

      <td>
        (`status`) => `void`
      </td>
    </tr>

  </tbody>
</table>

### Returns

`any`