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

# ParaCosmosSigner.getAccounts

> Returns the selected Cosmos account in the shape CosmJS expects.

async

Method

Returns the selected Cosmos account in the shape CosmJS expects.

Copy method signature

### Returns

`Promise<readonly AccountData[]>`

One account with a secp256k1 address and compressed public key.

## Import

```ts theme={null}
import type { Para as ParaServer } from '@getpara/server-sdk';
import { createParaProtoSigner } from '@getpara/cosmjs-v0-integration';
```

## Usage

```ts theme={null}
declare const para: ParaServer; // An authenticated Para Server client with a loaded Cosmos wallet.
const signer = createParaProtoSigner({ para, prefix: 'cosmos' });
const [account] = await signer.getAccounts();
```

## Limitations

Both ParaProtoSigner and ParaAminoSigner inherit this same implementation. It returns the selected wallet only; it does not enumerate every Para wallet.


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