Revoke Allowance

When using dapps like Uniswap, OpenSea or a custom smart contract, you have to grant them permission to spend your tokens and NFTs, for example if you want to execute a swap function. This is called an allowance. If you don't revoke these allowances, the dapp can spend your tokens forever. Take back control by revoking your allowances.

Parameters

Parameter name
Type
Description

Token contract

Text

Token that was used to be approved, for example USDC or an NFT contract

Spender

Text

Smart Contract address that the allowance was given to, for example the router contract from Uniswap. It also can be another user Wallet Address, because it is possible to give allowance to a wallet address as-well.

Gas Parameters

Number

The gas parameters are optional, use it only if you know what you are doing and you really need it.

Events

Event name
Description

Revoked

Triggered when the allowance was successfully revoked

Additionally, see common events and states for tx hash or error event.

Last updated