Approve a Spender Address
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug reads a token balance and grants an ERC-20 allowance letting a named spender transfer that token from the socket. It asks the caller for the token, the amount to approve, and the spender address to approve. It fires on each run, surfacing the wallet's current balance before setting the allowance. Setting an approval by hand risks naming the wrong spender or an allowance that does not match the token and amount the caller intends.

Actions · 3

  • Get token balance
    Get balance of held by
    Reads a token balance held by an address, native or ERC-20.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.
  • Approve spending
    Approve for
    Grants a spender an allowance to transfer an ERC-20 token from the socket.

Related plugs · 8