# convertEthersSignerToAccountSigner | @aa-sdk/ethers

> Overview of the convertEthersSignerToAccountSigner function from @aa-sdk/ethers

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

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

```ts
function convertEthersSignerToAccountSigner(signer): SmartAccountSigner<Signer>;
```

Defined in: [aa-sdk/ethers/src/utils.ts:45](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/ethers/src/utils.ts#L45)

Converts a ethers.js Signer to a SmartAccountSigner

## Parameters

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

  <tbody>
    <tr>
      <td>
        `signer`
      </td>

      <td>
        `Signer`
      </td>

      <td>
        the Signer to convert
      </td>
    </tr>

  </tbody>
</table>

## Returns

`SmartAccountSigner`\<`Signer`>

a signer that can be used to sign and send user operations