Function Signature

getWalletExternalServerKeyShareBackupInfo(params: {
  accountAddress: string;
}): Promise<any>

Description

Retrieves backup information for external server key shares associated with a specific wallet address. This information is used for wallet recovery and backup management.

Parameters

Required Parameters

  • accountAddress (string) - The wallet address to get backup info for (must include 0x prefix)

Returns

  • Promise<any> - Backup information for the wallet’s external server key shares

Example

import { authenticatedEvmClient } from './client';

const evmClient = await authenticatedEvmClient();

const backupInfo = await evmClient.getWalletExternalServerKeyShareBackupInfo({
  accountAddress: '0xYourWalletAddress',
});

console.log('Backup info:', backupInfo);

Error Handling

try {
  const backupInfo = await evmClient.getWalletExternalServerKeyShareBackupInfo({
    accountAddress: '0xYourWalletAddress',
  });
  console.log('Backup info retrieved successfully');
} catch (error) {
  console.error('Failed to get backup info:', error);
}