# Revoke Permissions

## Revoke Permissions

In case of an emergency or if you're a proponent of good housekeeping, you may wish to **revoke permissions** from Gamma's dApp or any other service that is connected to your wallet. This is becoming a common step for users to enhance their security. In this guide, we'll show you how to revoke permissions for your wallets.&#x20;

## Use Revoke.Cash

Revoke.Cash is a reputable platform that allows users to easily see all their permissions for a wallet in one place. Follow the instructions on the site.

{% embed url="<https://revoke.cash/>" %}

## Use a Block Explorer

### 1) Go to Etherscan's Token Approval Checker

{% embed url="<https://etherscan.io/tokenapprovalchecker>" %}

The etherscan interface is very simple, it allows you to search permissions on any ethereum wallet, as well as connect your wallet to modify those permissions.&#x20;

![](/files/FycZXnaO4Pva87QU5xdM)

### 2) Enter wallet address

Before connecting, getting used to the platform and checking your permissions is a good idea. To use the permission query tool, enter a valid address into the address box in the top left corner.

![](/files/h01aVHMdW7n2GjnZvHXe)

Here, you can see a wallet connected for viewing. Several permissions have been granted from this wallet, including Gamma's hypervisors, Metamask, Uniswap, and bridges. Any of these permissions can be modified or removed.&#x20;

![](/files/tYBbIeHgeYuH3Q4k1CUs)

### 3) Connect web3 wallet

Once you understand what you're looking at, you can connect a wallet to revoke permissions. To connect, click "Connect to Web3" under the address bar and follow the prompts to connect your wallet

![](/files/acoiOIXhuGG7ygMZfpKn)

Like the other guides, we'll use Metamask in this example.&#x20;

![](/files/7j5Vzqk5oFINnHMHehkX)

Choose a wallet that you'd like to connect with.&#x20;

![](/files/OuLV4dhFCUgCR8nI8GyZ)

You are now connected to Etherscan's Token Approval Checker.&#x20;

![](/files/snilLQlT8NuzULhNHEON)

### 4) Revoke permissions

In this example, we're going to revoke a simple Uniswap V3 permission for WBTC. Click the "Revoke" next to the field you wish to revoke. A pop-up box will emerge.

![](/files/ztFsJu8gTMFtZg4Es9gB)

The red box is the token contract address, in this case, WBTC. The blue ox is the spending address, in this case, Uniswap V3. If you wish to proceed, press the "Revoke" button and follow the prompt on your Metamask wallet.&#x20;

![](/files/gT08tKIfL9qaJofC83Rc)

Congratulations! You have revoked a permission from your wallet. Make sure you repeat the process to revoke all the permissions you want.&#x20;

### 5) Confirm on Etherscan

After the transaction is complete, you can confirm the transaction by going to the specific transaction hash and using the token approval checker to recheck the wallet. Click the button "View your transaction" to view the transaction hash.

![](/files/3DdGJVpjLU2jYN1iayna)

Viewing the transaction hash, you can see that the permission was successfully revoked.&#x20;

![](/files/qQ4hMK9AobTTAQjwyZ3s)

Also, by refreshing the token approval checker, you can also see that the permission has disapeared from the wallet.&#x20;

![](/files/nkDxW8kTLikMpA2xddmm)

Well done! Better safe than sorry. Remember that liquidity providers on Gamma will have to revoke permissions for each vault. It's always good to keep some gas around for this purpose.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gamma.xyz/gamma/lp-vaults/troubleshooting-help/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
