> ## 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}
// Requires sponsorship enabled for your project.
const transaction = await account.prepareTransaction({
  destination: {
    chain,
    calls: [changeThreshold(newThreshold)],
  },
  sponsored: true,
})
```

## Parameters

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

## Returns

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.