Revoke Spending Budget
Ethereum
Ethereum
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug reads a spender's standing ERC-20 allowance on a chosen token, reports it, then sets that allowance back to zero. It asks the caller for the token address and the spender address at execution time. It runs when the caller executes it, revoking whatever allowance currently exists. Leaving a spender approval in place keeps that address able to pull the token from the wallet until the allowance is cleared.

Actions · 3

  • Get token allowance
    Get allowance to for
    Reads how much of an ERC-20 token a spender may still pull from a user.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.
  • Revoke approval
    Revoke approval to spend from
    Sets a spender's ERC-20 allowance from the socket back to zero.

Related plugs · 8