> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rhinestone.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# changeThreshold

> Change an account's signer threshold (ECDSA)

## Import

```ts theme={null}
import { changeThreshold } from '@rhinestone/sdk/actions/ecdsa'
```

## Usage

```ts theme={null}
const transaction = await account.prepareTransaction({
  chain,
  calls: [changeThreshold(newThreshold)],
})
```

## Parameters

<ParamField path="newThreshold" type="number" required>
  New threshold
</ParamField>

## Returns

<ResponseField name="call" type="CalldataInput">
  Call to change the threshold
</ResponseField>
