getActiveAddress()
Othent JS SDK getActiveAddress() function
Returns the Arweave wallet address associated with the active (authenticated) user account.
The wallet address is derived from the corresponding public key (see getActivePublicKey()
).
API
return Promise<B64UrlString | "">
return Promise<B64UrlString | "">
A Promise
with the wallet address (Base64 URL-encoded string
) of the active users, or an empty string
if the user is not authenticated.
Example usage
Last updated