Skip to content

requestPermissions

Requests permissions for a wallet.

Usage

example.ts
import { walletClient } from './client'
 
const permissions = await walletClient.requestPermissions({ eth_accounts: {} }) 

Returns

WalletPermission[]

The wallet permissions.

JSON-RPC Methods

wallet_requestPermissions