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