How to swap fee-on-transfer tokens after a revert
How to swap fee on transfer tokens without failing: set slippage above the trade's tax, stay under token caps, then refresh the quote and retry.
2 min read

A reverted fee-on-transfer swap needs slippage above the trade’s tax, an amount within token caps and a fresh quote before retry.
A fee-on-transfer token deducts a percentage inside its transfer function. That deduction can leave the received amount below the swap’s minimum output, causing the router to revert; the tokens stay put, and the failed attempt costs gas.
KyberSwap Aggregator searches supported liquidity sources for routes, but pool design can affect the liquidity available to a quote. Read about concentrated liquidity to see how this pool structure can shape a route’s available depth.
A reverted swap leaves the tokens in your wallet
The block explorer shows whether the transaction reverted, while your wallet balance confirms the tokens were untouched. A reverted swap returns no tokens to anyone; only the gas for that attempt is spent.
Before retrying, find the token’s buy or sell tax in its contract or project materials. The rates can differ by direction, so use the tax for the trade you are making.
Four settings can clear the token’s limits
These four settings address the tax, token caps and stale quote that can make a retry fail.
- Tax direction and size: Find the buy tax if you are buying, or the sell tax if you are selling. The token contract or project documentation can state the rate; buy and sell taxes may differ.
- Slippage tolerance: Set tolerance above the relevant tax, adding 1–2 percentage points as a buffer. The tax reduces the delivered amount, and tolerance below that deduction can leave the output under the minimum and trigger another revert.
- Amount vs token caps: Check the contract for a maximum transaction size and maximum wallet balance. These limits can cause a revert at any slippage, so keep the trade under the transaction cap and leave room below the wallet cap for the incoming tokens. Split the trade into smaller amounts if the transaction cap is the obstacle.
- Fresh quote and deadline: After changing the amount or tolerance, request a new quote and retry with a current deadline. On KyberSwap Aggregator, re-quoting also lets the route reflect the updated trade size.
The clearest sign the retry worked is an increased token balance after the successful transaction; it shows the net amount arrived after the transfer tax.