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