Revoke Spending Budget
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug revokes an ERC-20 spending approval by setting the named spender's allowance from the socket back to zero. It asks the caller for a token address and a spender address at execution time. It fires when the caller runs it with those two values supplied. Leaving an approval in place keeps the spender able to move the token from the socket, and revoking by hand requires locating the token contract and submitting the allowance-zeroing call directly.

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