Start typing to search this publication.
crypto.news logo crypto.news
Open menu
crypto.news logo

Subscribe to crypto.news

Get new posts delivered straight to your inbox.

Batch vs Individual Token Approval Revocation: Which to Use?

crypto.news avatar crypto.news
4 min read

For routine token approval cleanup, batch revocation usually suits several straightforward permissions when your wallet supports it at an acceptable total cost; individual revocations suit a small cleanup or an approval that may fail.

How Should You Compare the Two Methods Before Sending?

Compare batch and individual revocation using the wallet and network you will actually use. A token approval gives a smart contract permission to spend a specified token from your wallet. Revoking that approval changes the permission for that token and spender; it does not move the tokens in your wallet. The number of permissions, the full quote and the way failures are handled should drive your choice.

  • Support: Batch revoking depends on the wallet’s capabilities on the selected network. Individual transactions are the practical choice when batching is unavailable. Confirm that the proposed batch contains the permissions you intended to remove.

  • Effort: A supported batch can reduce repeated wallet prompts when you have several removals. Individual transactions take more confirmations, but let you review each token and spender separately before signing.

  • Total quote: Compare the complete batch quote with the combined individual quotes. Include network fees, any wallet setup cost and any service charge. Fewer prompts can save effort without producing a lower bill; the result depends on how the batch is implemented.

  • Failure handling: An individual failure leaves the other completed revocations alone. A batch may execute atomically, with all changes committed together, or allow partial completion. That difference determines which permissions you may need to retry.

Batching is convenient when the permissions are familiar and each removal looks routine. A token approval management tool such as revokecash lets you inspect permissions your wallet has granted and, where batching is supported, group removals to reduce prompts. Review the selected token and spender pairs just as carefully as you would for individual transactions.

Say you have six straightforward approvals to remove and one unusual token whose revocation has repeatedly failed. That is an illustrative case, not a claim about a particular wallet. Put the six straightforward removals in a supported batch if its complete quote is acceptable. Handle the unusual token individually: a separate transaction makes its result easier to inspect and keeps its failure from holding up an atomic batch of the other six.

For only one or two permissions, individual transactions may be simpler even when batching is offered. Read the final amount your wallet asks you to authorize for each route, especially if the batch requires setup or the service adds a charge. Choose based on that displayed total and the confirmations you would save.

What Should You Do After a Batch Fails?

After a batch fails, establish whether it was atomic before retrying anything. EIP-5792 describes wallet batch capabilities and execution status: an atomic batch commits every call or rolls back every call, while a batch without atomic execution can leave some calls completed. Its status response also distinguishes a pending batch, a complete revert and partial execution.

Start with the batch status and the current approval shown for each token and spender. A pending batch still needs a final result. When an atomic batch reverts, every included approval remains as it was before the attempt, although the failed onchain attempt may still cost gas. Remove a troublesome approval from the group, then get a fresh quote for the remaining removals.

Partial execution calls for a different retry. Match the included transactions and their results to the selected approvals, then inspect the current allowances. Retry only permissions that remain active. Sending the whole selection again adds work for approvals already removed and can add costs. If the wallet’s batch screen gives only a summary, use its transaction details and the current approval list to reconcile the items.

In the illustrative seven-approval case, suppose the six routine removals complete but the unusual one fails in a batch that permits partial completion. Before the attempt, all seven token and spender pairs show active permission. Afterward, six show zero allowance and the unusual pair remains active: six permissions changed, while that one stayed because its call failed. With an atomic failure, all seven would still be active. Those two results look similar as a failed batch notification, but they call for different retry selections.

Choose batch revocation when your wallet supports it, the full quote is acceptable and its execution behavior is clear. Choose individual transactions for a small cleanup, an unsupported batch or a permission that needs isolated review.

Can Token Approvals Expire?

Standard ERC-20 allowances have no built-in expiry. The ERC-20 specification defines an allowance that remains available until it is spent or changed by another approval. For routine cleanup, inspect the current allowance rather than assuming an old approval has timed out.

Can Revoked Approvals Return?

Yes. A later authorization can grant the same spender permission again. If you use that app after cleanup, review the new approval amount as part of your next wallet confirmation.

Can Revoking Recover Stolen Tokens?

No. Revocation changes permission for future spending; it cannot reverse a completed transfer. Use the current approval list to decide which remaining permissions to remove, then choose the method that fits each removal.

Subscribe to crypto.news