Get Wallet Names

Get wallet names of web wallets on Arweave

The getWalletNames function fetches the wallet names of the web wallets in the browser extension.

The ACCESS_ALL_ADDRESSES permission must be granted either while calling connect() or getPermissions() in order to successfully use this function. Read more about permissions here.

Basic Syntax

The function is called as follows:

import { ArConnect } from 'arweavekit/auth'

const response = await ArConnect.getWalletNames();

Returned Data

The function call returns the following data:

  • walletNames: object: An object consisting of key-value pairs of the wallet addresses and associated wallet names.

Last updated