Skip to main content
Blocktape

Crypto markets, protocols and policy

How to choose an ERC-20 approval cap for safer bridging

Unlimited vs exact token approval: exact is safer for occasional lifi bridge transfers; unlimited saves an approve transaction for frequent repeat moves.

The Blocktape Editors 2 min read d02913

How to choose an ERC-20 approval cap for safer bridging

After setting up a 500 USDC lifi bridge transfer, choose exact approval: it limits the contract to the amount you intend to send and is safer for occasional transfers.

ERC-20 approval sets how much a contract can spend with transferFrom. With an exact approval of 500 USDC, the transfer spends that allowance down to zero, leaving no standing allowance to revoke afterward.

Which approval should you choose?

Exact approval suits occasional transfers; unlimited approval suits frequent repeat transfers when you accept ongoing exposure to save an approval transaction.

For the 500 USDC transfer, an unlimited allowance lets the contract spend up to your full future USDC balance until you revoke it. That means a later compromise of the contract could put more of your USDC at risk than the transfer amount.

Exact approval costs one approve transaction for each transfer. Unlimited costs an approval once, then leaves the allowance open for later transfers. For frequent, large-volume users, that can be worth the tradeoff if they periodically revoke allowances they no longer need.

In MetaMask, edit the spending cap in the approval prompt to match the transfer amount before confirming. For more on reducing contract exposure, read these lifi bridge risk lessons; the same allowance choice applies when a lifi bridge route asks to spend your tokens.

What else changes the approval decision?

Is a Permit2 signature safer than an approval?

Not automatically. A Permit2 signature can specify an amount and expiry, but the permission still depends on what you sign and the token allowance granted to Permit2. Review both before signing.

What happens to my approval if the bridge contract is upgraded?

If an upgrade changes the code behind the same spender address, the token allowance remains attached to that address. Revoke it if you no longer want that address to spend your tokens.

Do I need a new approval for every chain?

Usually, yes: approvals belong to a token contract and spender address on a particular chain. Check the wallet prompt on the destination chain before confirming another transfer.

Related stories