wallet_revokePermissions
Revokes previously granted permissions for the current dapp identified by its origin. This method is specified by MIP-2 and is only available for the browser extension.
Params
(1)1. revokePermissionObject (required)
dictionary[string, object]
Result
(RevokePermissionsResult)null
Example
Request
await window.ethereum.request({
  "method": "wallet_revokePermissions",
  "params": [
    {
      "eth_accounts": {}
    }
  ]
});
Result
null