Call approve(spender, 7) on Ethereum USDT while an allowance of 5 is still outstanding and the node answers execution reverted with no reason string. Call it with a clean allowance and it succeeds, returning zero bytes where ERC-20 promises a bool.
I ran both against mainnet state on 26 November 2026, along with the same calls on BNB Chain and Tron. The largest stablecoin by supply is not an ERC-20 token in the strict sense, and it misbehaves differently on each chain. One of the top results for these errors still recommends safeApprove, which OpenZeppelin removed in 2023. This guide quotes the contract, shows the live values and gives a per-chain table.
Why Does USDT transfer Revert Through IERC20?
Ethereum USDT lives at 0xdAC17F958D2ee523a2206206994597C13D831ec7. It was deployed on 28 November 2017, compiled with solc 0.4.18, and it is not a proxy. The verified source declares its three state-changing functions like this:
function transfer(address to, uint value) public;
function transferFrom(address from, address to, uint value) public;
function approve(address spender, uint value) public;
None of them returns anything. EIP-20 says each returns bool.
That mismatch was harmless until Solidity 0.4.22 shipped on 16 April 2018. From that version the compiler checks returndatasize when decoding a call result and reverts if fewer than 32 bytes come back. So a contract that calls IERC20(usdt).transfer(to, amount) through the standard interface does the following: the token moves the balance, returns nothing, and the caller reverts the whole transaction because it expected a boolean.
Nothing is lost in that transaction. The damage shows up in contracts that can receive USDT but never send it. A user deposits with a plain wallet transfer, which works. The contract's withdraw function calls token.transfer through IERC20, which reverts every time. An OpenZeppelin forum thread from September 2022 documents exactly this for one contract, with the maintainer's verdict that "the withdraw mechanism in the contract will not work for USDT".
USDT was never alone. Lukas Cremer's June 2018 write-up counted at least 130 tokens with the same missing return value, including BNB and OmiseGO, and traced it to a faulty OpenZeppelin interface published between March and July 2017. Here is what the node returns today:
// eth_call approve(0x…dEaD, 1) on USDT
{"jsonrpc":"2.0","id":1,"result":"0x"}
// the same call on USDC
{"jsonrpc":"2.0","id":1,"result":"0x0000000000000000000000000000000000000000000000000000000000000001"}
Why Does USDT approve Revert on a Non-Zero Allowance?
The second trap is one line in approve:
require(!((_value != 0) && (allowed[msg.sender][_spender] != 0)));
You may set an allowance from zero to anything, or from anything to zero. You may not change one non-zero value to another. The comment above it links to the 2016 discussion of the approve front-running race, which this guard was meant to close.
To see it fail, I used an eth_call state override to write an allowance of 5 into the allowed mapping (storage slot 5) and then simulated three calls:
| Call | Existing allowance | Result |
|---|---|---|
approve(spender, 7) | 0 | Success, returns 0x, 48,696 gas estimated |
approve(spender, 7) | 5 | execution reverted, data 0x |
approve(spender, 0) | 5 | Success, returns 0x |
The revert carries no message, because solc 0.4.18 predates revert reason strings. An error mapper keyed on text will file it as unknown.
This bites hardest with leftover allowances. A router approves 100 USDT to a pool, the pool pulls 99.999999, and one base unit of allowance remains. The next deposit calls approve again and reverts. A July 2025 Immunefi finding against Plume rated this pattern medium severity because it could freeze USDT deposits permanently, and three open-source projects merged or opened fixes for stale USDT allowances between September and November 2026.
Two details soften it. An allowance of 2**256 - 1 is never decremented by transferFrom, so a max approval set once never hits the guard again, at the cost of an unlimited allowance. And approve is not covered by the contract's pause, only transfer and transferFrom are.
SafeERC20 vs Solady vs Solmate for USDT in 2026
Every safe-transfer library handles the empty return. They differ on the approve reset and on whether they check that the token address has code at all.
| Library | Empty return OK | Zero-first approve | Checks token has code |
|---|---|---|---|
OpenZeppelin SafeERC20 5.x | Yes | forceApprove retries via zero | Yes |
Solady SafeTransferLib | Yes | Only safeApproveWithRetry | Yes |
Solmate SafeTransferLib | Yes | No | Only on main since October 2024 |
Uniswap v3 TransferHelper | Yes | No | No |
The OpenZeppelin history explains most of the stale advice online. Version 2.2.0 (March 2019) added support for tokens with no return value. safeApprove was deprecated in 3.1.0 (June 2020) and is gone from the 5.0.0 source (October 2023). It never helped with USDT anyway: it carried its own non-zero to non-zero check and reverted with "approve from non-zero to non-zero allowance". forceApprove arrived in 4.9.0 (May 2023), described in the changelog as improving "compatibility with tokens behaving like USDT". It tries approve(spender, value) first and only falls back to approve(spender, 0) then approve(spender, value) if that fails, so well-behaved tokens pay nothing extra.
Solady's plain safeApprove does not retry. You have to choose safeApproveWithRetry. Solmate has no retry at all, and pinned copies from the v6 tag or earlier still treat a call to an address with no code as a successful transfer. If your repo vendored Solmate before October 2024, check which copy you have.
Why viem simulateContract Fails on USDT
The same bug exists off-chain, and I rarely see it mentioned. viem's built-in erc20Abi declares returns (bool). Pass it to simulateContract against Ethereum USDT and the decoder throws ContractFunctionZeroDataError: The contract function "approve" returned no data ("0x"). ethers v6 does the equivalent on staticCall, throwing BAD_DATA with "could not decode result data".
A bare writeContract or contract.transfer() send is unaffected, because sending does not decode a result. The failure only appears once you add a preflight simulation, which is the responsible thing to do in a payout service. The symptom is a payout pipeline that rejects USDT transfers that would have succeeded.
The fix is an ABI with no outputs for the three mutating functions:
import { parseAbi } from 'viem'
export const usdtAbi = parseAbi([
'function transfer(address to, uint256 value)',
'function approve(address spender, uint256 value)',
'function transferFrom(address from, address to, uint256 value)',
'function balanceOf(address owner) view returns (uint256)',
'function allowance(address owner, address spender) view returns (uint256)',
])
Then take success from the receipt status and the Transfer log, never from a return value.
Does USDT Charge a Transfer Fee?
Not today. The mechanism is in the contract, though:
uint fee = (_value.mul(basisPointsRate)).div(10000);
if (fee > maximumFee) {
fee = maximumFee;
}
setParams caps it with require(newBasisPoints < 20) and require(newMaxFee < 50), so the ceiling is 19 basis points and 49 USDT per transfer. When I read both on 26 November 2026, basisPointsRate and maximumFee were 0.
If Tether ever sets them, the recipient receives _value - fee and a second Transfer event sends the fee to the owner. A 100 USDT payment at the cap would arrive as 99.81. Any contract that credits the amount argument instead of its own balance change would over-credit, and any deposit matcher that expects the exact invoiced amount would miss. Both values sitting at zero nine years after deployment makes this a low-probability risk. A balance-delta check costs two balanceOf calls, so I include it regardless.
The upgrade path is stranger. With no proxy, the owner can call deprecate(address), after which transfer, approve, balanceOf and the rest forward to a new contract through transferByLegacy and its siblings. Behaviour can change at the same address. deprecated read false in my check.
USDT Decimals and Behaviour by Chain: Ethereum, Tron, BNB Chain, USDT0
"USDT" is at least five different contracts. These rows come from simulated calls on 26 November 2026 and from the USDT0 documentation.
| Chain and token | Decimals | Returns bool | Zero-first approve | Permit | EIP-3009 |
|---|---|---|---|---|---|
| Ethereum USDT | 6 | No, empty | Required | No | No |
| Tron USDT | 6 | transfer returns false on success | Not tested | No | No |
| BNB Chain BSC-USD | 18 | Yes | No | No | No |
| Arbitrum USDT0 | 6 | Yes | No | Yes | Yes |
| Optimism legacy bridged USDT | 6 | Yes | No | No | No |
| Polygon USDT0 | 6 | Yes | No | Yes, legacy signing domain | No |
| Solana SPL USDT | 6 | n/a | n/a | n/a | n/a |
Three rows cause most incidents.
BNB Chain has 18 decimals. A treasury script that hardcodesamount 10*6 sends one trillionth of the intended value there. Carry decimals in a registry keyed by chain and address, and never by ticker.
Tron returns false when it works. My simulated transfer came back with a successful result and 32 zero bytes. A safe-transfer library reads that as failure and reverts. LI.FI hit this in production and merged a bypass gated on chain and token address in May 2026. Across solved the same problem with a balance-delta check, noted in an OpenZeppelin audit dated 17 August 2026. Tron's approve and transferFrom do return true. I covered the cost side of Tron separately in the TRC-20 energy and bandwidth guide.
Polygon's permit uses the old domain. USDT0's docs state that a permit signed with the standard EIP-712 domain fails verification on Polygon, because the token kept the signing domain from its PoS-bridged days. It also lacks EIP-3009 there, which Arbitrum has.
USDT vs USDC: Which ERC-20 Is Easier to Integrate?
USDC, by a distance. Circle's FiatToken returns bool from all three functions, uses 6 decimals on every EVM chain it issues on, and supports both EIP-2612 permit and EIP-3009 transferWithAuthorization. That is why gasless and agent payment schemes default to it. WalletConnect Pay's documentation says USDT "does not implement EIP-3009", so it routes USDT through Permit2, which means one extra on-chain approval per wallet. I compared those signature schemes in the EIP-3009 vs Permit2 guide.
The trade-off runs the other way on control. USDC is an upgradeable proxy, so Circle can change its logic, and its blacklist checks sender, recipient and spender. USDT checks only msg.sender on transfer and only _from on transferFrom, never the recipient, a difference I tested in the USDC vs USDT blacklist guide. USDT's code on Ethereum is frozen in 2017, which makes it awkward and also predictable.
Should You Special-Case USDT in Your Code?
My view: no on EVM chains, yes on Tron.
An if (token == USDT) branch on Ethereum is a mistake, because the same quirks appear in other tokens and the branch never gets tested against them. Write one path that assumes every token is as awkward as USDT: a safe wrapper, forceApprove, a balance-delta check, decimals from a registry. Standard tokens pass through it at no extra cost.
Tron is the exception. A token that returns false on success cannot be handled by a generic safe wrapper, since that return value is the exact signal the wrapper exists to catch. There you need the gated bypass or the balance check.
I also don't expect Tether to fix the Ethereum contract. The cleaner token already exists as USDT0, and the Arbitrum and Polygon addresses now report USDT0 names. On Ethereum, USDT0 works by locking the legacy token inside an OFT adapter, so the 2017 contract stays underneath for as long as Ethereum holds the liquidity. Plan for the quirks to outlive your codebase.
What This Means for Payment Engineers
1. Grep your contracts for IERC20( followed by .transfer, .transferFrom or .approve. Each one is a USDT revert waiting for a deposit. Replace with safeTransfer, safeTransferFrom and forceApprove.
2. Check your library version. OpenZeppelin below 4.9.0 has no forceApprove. Solmate pinned before October 2024 has no code-existence check.
3. Use a no-output ABI for USDT in viem and ethers wherever you simulate before sending.
4. Credit deposits by balance delta or by the Transfer log amount, not by the argument passed in.
5. Store decimals per chain and address. Add a test that sends to BNB Chain BSC-USD with 18.
6. On Tron, confirm from the log, and gate any return-value bypass on the exact token address.
7. Reset to zero before re-approving in any script that talks to Ethereum USDT directly, and map an empty revert on approve to "stale allowance" in your error handling.
I'm Tom Wang, and I write about the engineering underneath payment rails. Token contracts can change, USDT's included, so re-run the calls above before you rely on any value in this article.