Skip to main content
Deprecated. Use fetchWalletMetadata() for identity lookups, or the walletMetadata you persisted at creation. See the V1 migration guide.

Function Signature

getWallets(): Promise<{
  walletId: string;
  chainName: string;
  accountAddress: string;
  externalServerKeySharesBackupInfo: KeyShareBackupInfo | undefined;
  externalServerKeyShares: ServerKeyShare[]; // always an empty array
  derivationPath?: string;
  thresholdSignatureScheme: ThresholdSignatureScheme;
}[]>

Description

Retrieves all wallets (not just EVM) for the authenticated user. This function returns an array of wallet objects containing information about all wallets associated with the current user.

Parameters

None

Returns

  • Promise<object[]> - Array of wallet objects with wallet information

Example

import { authenticatedEvmClient } from './client';

const evmClient = await authenticatedEvmClient();

const wallets = await evmClient.getWallets();
console.log('All wallets:', wallets);

Response Format

interface Wallet {
  walletId: string;
  chainName: string;
  accountAddress: string;
  externalServerKeySharesBackupInfo: KeyShareBackupInfo | undefined;
  externalServerKeyShares: ServerKeyShare[]; // always an empty array
  derivationPath?: string;
  thresholdSignatureScheme: ThresholdSignatureScheme;
}

Error Handling

try {
  const wallets = await evmClient.getWallets();
  console.log('Wallets retrieved:', wallets.length);
} catch (error) {
  console.error('Failed to retrieve wallets:', error);
}
Last modified on July 3, 2026