requestPermissions
Requests permissions for a wallet.
Usage
ts
import { requestPermissions } from 'viem/wallet'
Usage
ts
import { requestPermissions } from 'viem/wallet'
import { walletClient } from '.'
const permissions = await requestPermissions(walletClient, { eth_accounts: {} })
Returns
The wallet permissions.