> ## 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.

# addOwner

> Add an ECDSA owner

## Import

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

## Usage

```ts theme={null}
// Requires sponsorship enabled for your project.
const transaction = await account.prepareTransaction({
  destination: {
    chain,
    calls: [addOwner(owner)],
  },
  sponsored: true,
})
```

## Parameters

<ParamField path="owner" type="`0x${string}`" required>
  Owner address
</ParamField>

## Returns

<ResponseField name="call" type="CalldataInput">
  Call to add the owner
</ResponseField>


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