ArweaveKit Docs
  • 💳ARWEAVE WALLET KIT
    • Introduction to Arweave Wallet Kit
    • Setup
    • Connect Button
    • Hooks
    • Customization
  • 🤖Arweave Data Storage SDK
    • Introduction to the Arweave Data Storage SDK
  • Installation
  • Usage
  • Wallet
  • Configuration
  • Data Upload Service
  • ArweaveKit
    • Introduction
  • 🔐Wallets
    • Introduction to Wallets
    • Create Wallet
    • Get Wallet Address
    • Get Wallet Balance
    • Wallet Plugins
  • 🏦Transactions
    • Introduction to Transactions
    • Create Transaction
    • Sign Transaction
    • Post Transaction
    • Get Transaction Status
    • Get Transaction
    • Create and Post Transaction with Othent
    • Transaction Plugins
  • ✅AUTH
    • Introduction to Auth
    • Connect
    • Disconnect
    • Get Active Address
    • Get Permissions
    • Get Wallet Names
    • Get All Addresses
    • Get Active Public Key
    • Is Installed
    • Log In with Othent
    • Log Out with Othent
    • Get User Details with Othent
    • Auth Plugins
  • 🔐Encryption
    • Introduction to Encryption
    • Encrypt Data with AES
    • Decrypt Data with AES
    • Encrypt AES Key with RSA
    • Decrypt AES Key with RSA
    • Encryption Plugins
  • 🌐GRAPHQL
    • Introduction to GraphQL
    • Query All Arweave Transactions
    • Query Arweave Data
    • Query Arweave Transactions
    • GraphQL Plugins
  • 📘REFERENCES
    • ArweaveKit in Browser Environments
  • 🛠️SUPPORTING TOOLS
    • Arweave StarterKit
Powered by GitBook
On this page
  • Basic Syntax
  • Returned Data

Was this helpful?

  1. AUTH

Get All Addresses

Get addresses of web wallets on Arweave

The getAllAddresses function fetches the wallet addresses 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.getAllAddresses();

Returned Data

The function call returns the following data:

[
    'WALLET_ADDRESS_1',
    'WALLET_ADDRESS_2'
]
  • walletAddresses: array: A list of all the added wallet addresses.

PreviousGet Wallet NamesNextGet Active Public Key

Last updated 4 months ago

Was this helpful?

✅