Get Active Address

Getting address of active web wallet on Arweave

The getActiveAddress function fetches the address of the active web wallet.

The ACCESS_ADDRESS 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 address = await ArConnect.getActiveAddress();

Returned Data

The function call returns the following data:

'WALLET_ADDRESS'
  • address: string : The wallet address of the active web wallet.

Last updated