


Acts onchain
Sets a spender's ERC-20 allowance from the socket back to zero. The token's approve is called with zero for the spender; the options list only spenders with outstanding approvals on the chosen token. Reach for it to close an allowance a strategy opened earlier in the same transaction, or in a cleanup plug that removes standing approvals from contracts no longer in use.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
Revoke Spending Budget


1·Take
The token parameter is declared here, supplied by the caller at execution to name which ERC-20 asset this run inspects and revokes.
2·Take
Following that, spender is declared as a caller parameter naming the address whose allowance will be checked and cleared.
3·Get token allowance
Reading Your Wallet's allowance to the spender for the token captures how much the spender may still pull before the revoke lands.
4·Bubble
That measured allowance is surfaced as an output of this plug, handing the standing allowance back to the caller.
5·Revoke approval
Finally, the spender's allowance for the token is set back to zero, cancelling the spender's ability to transfer from the socket.
Borrow on Base · 7 plugs
Stake on Base · 9 plugs
Provide liquidity on Base · 6 plugs
More on Ethereum Virtual Machine · 11