A spending cap in a token approval request is the maximum amount of one token a specific smart contract may move from your wallet until you change or revoke its permission. Set the cap to an amount you are comfortable allowing, then review the approval later on revokecash. The cap is an ERC-20 allowance: approving it gives the contract permission to pull tokens when a later transaction uses that permission. Approval alone leaves the tokens in your wallet.
How does a spending cap work after you approve it?
A spending cap limits what the approved spender can pull, across one or more transactions. Imagine an illustrative prompt asking you to allow a DEX router to spend up to 100 USDC. You approve 100 USDC, then make a swap that uses 60 USDC. Your wallet has sent 60 USDC for the swap, while 40 USDC of that router’s permission remains. The swap changed both your token balance and the remaining allowance; approving the cap had changed only the allowance.
In MetaMask, the allowance field is labelled “Spending cap”, and you can edit its amount before confirming. Read the token name, spender address, cap and network in the request. The spender address matters more than the app’s familiar name: it identifies the contract receiving permission. An approval applies to one token and one spender on one network, so an approval for USDC gives no permission over another token or over USDC on another network.
For an ordinary ERC-20 approval, the token contract records the value supplied to approve(spender, amount). Its allowance(owner, spender) value is the amount that spender can still withdraw. A cap can exceed the tokens currently in your wallet; the balance is checked when the spender tries to transfer them. That is why “I only have a little USDC now” is a poor way to judge a large cap: USDC received later may also be available to the approved contract. A standard allowance remains active until it is spent or you replace it with a lower amount, including zero.
Permit2 adds a second place to look. Uniswap’s Permit2 first needs an ERC-20 approval from the token to the Permit2 contract. An AllowanceTransfer permission then specifies how much of that token a particular app spender may use through Permit2, and when that permission expires. A later Permit2 signature can set that app-specific cap without another token approval. Once the signed permission is submitted, its amount and expiry are stored in Permit2.
The two allowances answer different questions. The token’s allowance(owner, Permit2) gives the outer limit granted to Permit2. Permit2’s allowance for the owner, token and app spender gives that app’s remaining limit and expiry. Seeing a large token-to-Permit2 approval therefore tells you less about one app’s permission than you might think. Review both layers when a request mentions Permit2; an expiring Permit2 cap can end even while the outer token approval remains.
revokecash.io lets you inspect and manage token approvals by spender and token. That pairing reflects the permission you granted: after the illustrative 60 USDC swap, the useful question is whether that router still has a USDC allowance you want to keep. Lowering or revoking the relevant cap changes its future access; it does not undo the completed swap.
Related questions about spending caps
Is it safe to set a spending cap higher than the swap amount?
A cap higher than the swap amount leaves permission for later transfers. That may save you another approval for a later swap, but it also increases the amount that the spender could pull while the allowance is active. For a first transaction, a cap near the amount you intend to use is easier to assess. If the prompt proposes a much larger figure, edit it deliberately rather than treating the proposal as the swap amount.
What happens when the spending cap is used up?
When an ordinary finite ERC-20 allowance reaches zero, that spender needs a new approval before it can pull more of that token. In the 100 USDC illustration, spending the remaining 40 USDC would use up the router’s allowance. Tokens already received from a swap stay in your wallet; using up a cap changes permission for future transfers, not the result of earlier ones. Permit2 AllowanceTransfer likewise enforces its remaining amount, subject to its separate expiry.
Does approving a spending cap cost gas?
Setting an ordinary ERC-20 spending cap calls the token contract in an on-chain transaction, so it costs network gas. Signing a Permit2 allowance message does not itself submit a transaction or cost the signer gas. Permit2 still requires an initial token-to-Permit2 approval, and using the signed permission involves an on-chain transaction whose gas someone pays. Read whether your wallet is asking you to confirm a transaction or sign a message.
What questions come up after approving?
After approving a spending cap, you can replace or remove its remaining permission. The action depends on whether the cap is recorded by the token contract or inside Permit2.
How do I change a spending cap after approving?
Change an ordinary ERC-20 cap by submitting a new approval amount for the same token and spender. The new value replaces the previous allowance; it is not added to it. A Permit2 AllowanceTransfer cap is changed through Permit2. Review the current spender, token and expiry before choosing the new amount, especially if the earlier permission has already been partly used.
What does “unlimited” spending cap mean in MetaMask?
“Unlimited” means the proposed allowance is so large that it effectively places no practical token-amount limit on that spender. It is still specific to the approved token, spender and network. The word describes permission, not a transfer happening now. Consider whether the convenience of future transactions justifies leaving that much access active.
Why does a dapp ask for a spending cap again?
A dapp may ask again because its earlier allowance was used up, lowered, revoked or granted to a different spender. A change of token or network also calls for a separate approval. With Permit2, an app-specific permission may have expired even though the token-to-Permit2 approval remains. Compare the new request’s token, spender, amount and network with the permission you expected to reuse.
Can a spending cap be removed for free?
Removing an active on-chain cap generally requires a transaction that sets its allowance to zero, so network gas applies. Simply disconnecting a dapp from your wallet does not change the allowance stored by the token or Permit2. If a Permit2 permission has already expired or been fully spent, its app-specific cap no longer permits further transfers; the separate token-to-Permit2 approval may still need review.