Log in
Menu

USDT transferFrom on TRON: How Much Energy It Uses vs transfer

Real USDT transferFrom receipts on TRON: 65,123 energy with an unlimited allowance, 89,325 with a limited one, vs 64,285 for transfer. Who pays, month math.

Category
Calculations
Published
Reading time
8 min

A USDT transferFrom on TRON costs slightly more energy than a plain transfer, and how much more depends on the allowance. On Nov 20, 2026, every real transferFrom we read under an unlimited allowance used 65,123 energy (131,123 to an address with no USDT), 838 more than a transfer. Under a limited allowance the contract also rewrites the allowance: our simulation and a real receipt both showed 89,325. The energy is paid by the spender, the address that signs the call, not by the address whose USDT moves.

Below: where the two functions differ in the USDT code, real receipts, who pays, and a model month for a payment gateway that pulls payments with transferFrom.

transfer and transferFrom in the USDT contract

Both calls go to the USDT contract TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t. The first four bytes of the call data, the selector, tell them apart:

Function Selector Who signs Whose USDT moves Arguments
transfer(address,uint256) a9059cbb The holder The signer’s recipient, amount
transferFrom(address,address,uint256) 23b872dd The spender The from address’s from, recipient, amount

transferFrom only works after the holder has signed approve(spender, amount) (TRC-20 interface). In the contract source verified on TronScan, transferFrom checks the balance, checks the allowance, updates two balances, and then runs one more line:

if (allowed[_from][msg.sender] < MAX_UINT) {
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
}

So an unlimited allowance (2^256 - 1) is only read, while any other allowance is read and written back. Writing storage is what makes a contract call expensive, which is why the two cases cost so differently. Approving and revoking, with their own costs, are covered in how to revoke a USDT approval.

Real transferFrom receipts, Nov 19-20, 2026

Direct transferFrom calls are rare. We paged through 3,600 confirmed calls to the USDT contract through TronGrid on Nov 20, 2026 (two windows, around 10:10 UTC and 14:00 UTC the day before): 3,583 were transfer, 15 approve and 2 transferFrom. Both came from addresses that pull USDT all day, so we read their histories.

The first spender’s latest 200 outgoing transactions held 175 transferFrom calls between Nov 17, 06:00 and Nov 20, 10:10 UTC: 127 different from addresses, one collection address as the recipient. All 175 used exactly 65,123 energy. The second spender works the other way round: one from address, 102 different recipients, 124 calls since Nov 18. 65 used 65,123 and 59 used 131,123, the second group going to recipients that held no USDT. None of the 299 calls failed. For one from address of each spender we read allowance on Nov 20: both were unlimited.

Transaction Call Energy Dynamic surcharge Bandwidth TRX burned
aab3775f… transferFrom, 223.725 USDT 65,123 50,281 378 0.378 (bandwidth)
60bbe5a0… transferFrom, own energy 808 65,123 50,281 378 6.4315 + 0.378
163b7f6b… transferFrom to an address with no USDT 131,123 101,281 378 13.0369 + 0.378
6cfb8f53… transfer, for comparison 64,285 49,635 345 0
04dc9e62… transfer to an address with no USDT 130,285 100,635 345 0

Two differences show up on every row:

  • Energy: +838. Without the surcharge, transferFrom needs 14,842 units against 14,650 for transfer: 192 more for reading the allowance and one more address. With the USDT contract’s dynamic surcharge on top (energy factor 34,000 as of Nov 21, 2026), the gap grows to 838.
  • Bandwidth: +33. The call carries a third 32-byte argument, so the transaction is 378 bytes instead of 345. Burned, that is 0.378 TRX instead of 0.345.

The burn column follows the network price of 100 SUN per unit: in 60bbe5a0 the spender had 808 units of energy and burned TRX for the other 64,315.

A limited allowance: about 24,200 more

Our sample held no direct transferFrom under a limited allowance, so we simulated one with triggerconstantcontract on Nov 20, 2026, around 10:15 UTC. The pair came from a fresh Approval event: an allowance of about 20 million USDT and a balance of 26.5 USDT. Nothing was signed or sent.

Simulated call, 1 USDT Recipient holds USDT Recipient holds none
transfer by the holder 64,285 130,285
transferFrom by the spender, unlimited allowance (real receipts) 65,123 131,123
transferFrom by the spender, limited allowance 89,325 155,325

The limited case adds 24,202 to the unlimited one: the allowance record is rewritten in place. A later check found a real one: 73c37516… on Nov 20, 00:59:54 UTC, used exactly 89,325 energy and 378 bandwidth. Its allowance, read afterwards, was huge but below the maximum, so every pull rewrites it. The same storage pricing shows up in the revoke article, where changing a nonzero allowance cost 33,764 against 99,764 for filling an empty one. We did not measure a pull that takes the allowance exactly to zero.

Here is the call we used, as an illustrative example for Node.js 18+:

// illustrative example: estimate transferFrom energy before sending
const pad = (hex) => hex.padStart(64, '0');
const hex20 = (hexAddr) => hexAddr.replace(/^41/, ''); // 41... hex -> 20 bytes

async function estimateTransferFrom(spender, fromHex, toHex, units) {
  const res = await fetch('https://api.trongrid.io/wallet/triggerconstantcontract', {
    method: 'POST',
    headers: { 'content-type': 'application/json' },
    body: JSON.stringify({
      owner_address: spender, // the address that will sign and pay
      contract_address: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t',
      function_selector: 'transferFrom(address,address,uint256)',
      parameter: pad(hex20(fromHex)) + pad(hex20(toHex)) + pad(BigInt(units).toString(16)),
      visible: true,
    }),
  });
  const j = await res.json();
  const reverted = j.transaction?.ret?.[0]?.ret === 'FAILED'; // REVERT still has result.result === true
  return { ok: j.result?.result === true && !reverted, energy: j.energy_used, surcharge: j.energy_penalty };
}
// for our limited pair it returned { ok: true, energy: 89325, surcharge: 68976 }

Who pays for transferFrom

TRON charges a contract call to the address that signs it (paying for resources). In a transferFrom that is the spender. The from address loses USDT and nothing else: no energy, no bandwidth, no TRX. In 60bbe5a0 the 6.8095 TRX fee came from the spender’s balance.

For a gateway or dApp this changes where energy has to be:

Model Who signs each payment Where energy is needed
Customer sends USDT with transfer The customer On each customer’s address
Deposit addresses, then sweeps The gateway, once per deposit address On every deposit address, see sweeping deposit addresses
Customer approves, gateway calls transferFrom The gateway On one spender address

The third model keeps energy on one address, which makes delegation simple. When the spender is a contract (a router, a bridge), the call that triggers transferFrom is paid under that contract’s settings, explained in energy for dApps and bots. The customer’s side is the approve: 99,764 energy the first time an allowance is set, paid by the customer.

Model calculation: a gateway pulling 3,000 payments a month

Model calculation, network figures as of Nov 21, 2026: 3,000 transferFrom pulls a month into a collection address that already holds USDT, all from the spender’s address.

Energy a month = pulls × energy per pull

Allowance type Energy per pull Energy a month Burned at 100 SUN, TRX Rented, TRX
Unlimited 65,123 195,369,000 19,536.9 5,861.07
Limited 89,325 267,975,000 26,797.5 8,039.25
Difference 24,202 72,606,000 7,260.6 2,178.18

Bandwidth adds 3,000 × 378 = 1,134,000 units, up to 1,134 TRX if all of it is burned. Staking for the unlimited row (6,512,300 energy a day at 9.65 energy per TRX) means about 675,000 TRX locked as of Nov 21, 2026.

Rental figures use the current rate on Dec 3, 2026, 30 SUN per unit for 1 hour. The rate changes; the exact price is shown in the service before you pay, and reference prices are on the pricing page.

The cheaper row has a price of its own. An unlimited allowance lets the spender pull any amount at any time, so customers carry the risk. A limited allowance costs the gateway about 37% more energy per pull but caps what it can take.

What to do, step by step

  1. Decide who signs. If customers send USDT themselves, transferFrom is not needed. Use it when the gateway must pull on schedule or on demand.
  2. Pick the allowance type knowing the price: 65,123 versus 89,325 per pull to an address that holds USDT.
  3. Estimate before each pull with the call above. A REVERT in the simulation means the balance or the allowance is short, or the from address is blacklisted, and energy cannot fix that.
  4. Keep energy on the spender address, not on customer addresses. A batch of pulls can be covered by one order through the energy API.
  5. Budget bandwidth at 378 per pull, not 345.
  6. Reconcile receipts: energy_usage_total of 65,123 or 131,123 means an unlimited allowance; about 89,325 or 155,325 points to a limited one. More tools are on the For business page.

FAQ

Does transferFrom cost more energy than transfer? Yes: 838 more with an unlimited allowance (65,123 against 64,285 on Nov 20, 2026), about 25,000 more with a limited one.

Who pays for transferFrom: the owner of the USDT or the spender? The spender, which signs the transaction. The address the USDT leaves pays nothing.

Does an unlimited allowance get smaller after a pull? No. The USDT contract skips the allowance write when it equals the maximum, which is also why those pulls are cheaper.

Can rented energy pay for transferFrom? Yes. Delegated energy on the spender’s address is used like its own.

Rent energy

UsdtPull sends energy to your address for a set period. The transfer goes through without burning TRX, your keys stay with you and the energy returns on its own afterwards.

Energy rentalUSDT TRC-20
  1. Address and period

    In the app, you enter your wallet address, the amount of energy and the rental period.

  2. Energy on your address

    Energy lands on your address. The delegation is visible in the block explorer.

  3. No TRX burned

    The transfer uses the rented energy instead of your TRX. When the period ends, the energy returns on its own.

Related posts

  1. Calculations

    Is There a Fee to Receive USDT TRC-20? What the Chain Shows

    Receiving USDT on TRON costs the recipient nothing: the sender's account pays energy and bandwidth. Real receipts from Nov 2026 and when your costs begin.

    7 min
  2. Calculations

    What Is SUN on TRON and How to Convert It to TRX

    1 TRX = 1,000,000 SUN. How to convert SUN to TRX, real TRON fees in both units as of Oct 19, 2026, and how to turn a price per unit of energy into TRX.

    8 min
  3. Calculations

    USDT TRC-20 Transfer Fee: What It Costs and How to Pay Less

    The USDT TRC-20 transfer fee today: 6.5 TRX burned for a standard transfer, 13.1 TRX to a new address, or less with rented TRON energy. Wallets and exchanges.

    10 min