getPermissions
Gets the wallets current permissions.
Usage
ts
import { getPermissions } from 'viem/wallet'
Usage
ts
import { getPermissions } from 'viem/wallet'
import { walletClient } from '.'
const permissions = await getPermissions(walletClient)
Returns
The wallet permissions.