Comment on page
Get Permissions
Getting permissions from web wallet on Arweave
The
getPermissions
function requests the active web wallet for permissions on behalf of the application.The function is called as follows:
import { ArConnect } from 'arweavekit/auth'
const response = await ArConnect.getPermissions();
The function call returns the following data:
[
'PERMISSION_1',
'PERMISSION_2'
]
permissions: array
: A list of all the permissions provided to the application. Read more about the available permissions here.
Last modified 2mo ago