getPermissions
Gets the wallets current permissions.
Usage
ts
import { walletClient } from './client'
const permissions = await walletClient.getPermissions()
ts
import { createWalletClient, custom } from 'viem'
export const walletClient = createWalletClient({
transport: custom(window.ethereum)
})
Returns
The wallet permissions.