# eth\_accounts

## Request

```ts
type Request = {
  method: "eth_accounts";
};
```

## Response

Array of connected Account addresses.

```ts
type Response = `0x${string}`[];
```

## Example

<Demo.Container name="eth_accounts">
  <Step.Connect stepNumber={1} />

  <Step.GetAccounts stepNumber={2} />
</Demo.Container>

:::warning

To make these instructions concrete, we have created a sample global wallet called **Rapidfire ID**. To interact with it, you can find its SDK in the NPM package directory: [@rapidfire/id](https://www.npmjs.com/package/@rapidfire/id).

You can check out the GitHub [repository for Rapidfire Wallet](https://github.com/openfort-xyz/ecosystem-sample) to learn how to create your own wallet.

:::

```ts
import RapidfireID from "@rapidfire/id";

const rapidfire = new RapidfireID();
const provider = rapidfire.getEthereumProvider();
const accounts = await provider.request({ method: "eth_accounts" }); // [!code focus]
```
