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

# getSvmWallets

> Retrieves all SVM wallets for the authenticated user

<Warning>
  **Deprecated.** Prefer [`fetchWalletMetadata()`](/node/reference/svm/fetch-wallet-metadata) or your persisted `walletMetadata`. See the [V1 migration guide](/node/reference/upgrade/v1).
</Warning>

## Function Signature

```typescript theme={"system"}
getSvmWallets(): Promise<{
  walletId: string;
  chainName: string;
  accountAddress: string;
  externalServerKeySharesBackupInfo: KeyShareBackupInfo | undefined;
  externalServerKeyShares: ServerKeyShare[]; // always an empty array
  derivationPath?: string;
  thresholdSignatureScheme: ThresholdSignatureScheme;
}[]>
```

## Description

Retrieves all SVM wallets for the authenticated user. This function returns an array of SVM wallet objects containing information about all Solana wallets associated with the current user.

## Parameters

None

## Returns

* **`Promise<Wallet[]>`** - Array of SVM wallet objects

## Example

```typescript theme={"system"}
import { authenticatedSvmClient } from './client';

const svmClient = await authenticatedSvmClient();

const svmWallets = await svmClient.getSvmWallets();
console.log('SVM wallets:', svmWallets);
```

## Response Format

```typescript theme={"system"}
// Uses the same Wallet interface as getWallets()
interface Wallet {
  walletId: string;
  chainName: string;
  accountAddress: string;
  externalServerKeySharesBackupInfo: KeyShareBackupInfo | undefined;
  externalServerKeyShares: ServerKeyShare[]; // always an empty array
  derivationPath?: string;
  thresholdSignatureScheme: ThresholdSignatureScheme;
}
```

## Error Handling

```typescript theme={"system"}
try {
  const svmWallets = await svmClient.getSvmWallets();
  console.log('SVM wallets retrieved:', svmWallets.length);
} catch (error) {
  console.error('Failed to retrieve SVM wallets:', error);
}
```

## Related Functions

* [`getWallets()`](/node/reference/svm/get-wallets) - Get all wallets, not just SVM (deprecated)
* [`fetchWalletMetadata()`](/node/reference/svm/fetch-wallet-metadata) - Fetch identity metadata for a specific wallet
