Skip to content
On this page

getPermissions

Gets the wallets current permissions.

Usage

ts
import { getPermissions } from 'viem'

Usage

ts
import { getPermissions } from 'viem'
import { walletClient } from '.'
 
const permissions = await getPermissions(walletClient) 

Returns

WalletPermission[]

The wallet permissions.

Released under the MIT License.