wallet_getPermissions
Gets the user's permissions. Specified by EIP-2255.
Parameters
This method doesn't accept any parameters.
Returns
An array of the user's permissions.
Example request
await provider.request({
method: "wallet_getPermissions",
params: []
});
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"eth_accounts": {}
}
}