Get wallet names
Wander Injected API getWalletNames() function
Example usage
// connect to the extension
await window.arweaveWallet.connect(["ACCESS_ADDRESS", "ACCESS_ALL_ADDRESSES"]);
// get all wallet names from Wander
const walletNames = await window.arweaveWallet.getWalletNames();
// obtain the user's active wallet address
const activeAddress = await window.arweaveWallet.getActiveAddress();
console.log("Your active wallet's nickname is", walletNames[activeAddress]);Last updated
Was this helpful?