Node
Retrieves all SVM wallets for the authenticated user
getSvmWallets(): Promise<SvmWallet[]>
Promise<SvmWallet[]>
import { authenticatedSvmClient } from './client'; const svmClient = await authenticatedSvmClient(); const svmWallets = await svmClient.getSvmWallets(); console.log('SVM wallets:', svmWallets);
interface SvmWallet { id: string; accountAddress: string; chainName: string; // ... other SVM wallet properties }
try { const svmWallets = await svmClient.getSvmWallets(); console.log('SVM wallets retrieved:', svmWallets.length); } catch (error) { console.error('Failed to retrieve SVM wallets:', error); }
getWallets()
getWallet()
Was this page helpful?