Token-2022 Extension Type 1 Epoch Tax Forensics • M025

Token-2022 TransferFeeConfig Trap Checker: Catching Staged 10,000 bps (100%) Epoch Tax Flips

Token-2022 Extension Type 1 (TransferFeeConfig) embeds a dual-epoch fee state machine right inside the Mint binary, allowing scammers to advertise a 0% buy/sell tax via older_transfer_fee while pre-staging a lethal 10,000 basis-point (100%) confiscation tax inside newer_transfer_fee—or keeping transfer_fee_config_authority live to hike taxes at peak volume. Solana Rent & Rug Shield's 11-Layer Block-0 Jito/Sybil engine unpacks all 108 bytes of TransferFeeConfig in real time, catching zero-tx epoch rollover traps that RugCheck, SolSniffer, and GoPlus overlook, while reclaiming 2,039,280 lamports (0.00203928 SOL) base up to 2,157,600+ TLV lamports at 0% 1st-claim fee versus Sol Incinerator (~2%) and ClaimYourSol (5%), plus a 30% ?ref= split.

Check Token-2022 Staged Transfer Tax (0% 1st Rent Claim) Open 108-Byte Fee Inspector Get 30% ?ref= Link
10,000 bps
Staged 100% Epoch Sell Tax Caught Pre-Buy
108 Bytes
Full Type-1 TLV Dual-Epoch Struct Decoded
2,039,280+
Base & TLV Lamports Reclaimed (0% 1st Claim)
30% SOL
Instant Affiliate Payout on ?ref= Traffic
Interactive Trench EV Simulator • Unit M025

Bundled Rug Loss Prevention + Dead ATA Rent Recovery Estimator

Estimate how much SOL our 11-Layer Block-0 Jito/Sybil & Token-2022 TLV Shield saves per month compared to relying on RugCheck, SolSniffer, or GoPlus — plus instant 0%-fee 1st-claim recovery (2,039,280 lamports = 0.00203928 SOL per dead ATA).

0.611784 SOL
Unlocked Free on Claim #1 (0% Fee • 2,039,280 lamports/ATA)
-0.012236 SOL
Saved vs Sol Incinerator ~2% Fee (-0.030589 SOL vs 5% Burn)
-0.030589 SOL
Saved vs ClaimYourSol 5% Skim
<120ms
Layer-11 Sybil & Layer-10 TLV Verdict Speed (0 Auto-Billing)

Inside the 108-Byte TransferFeeConfig State Machine: Staged Epoch Rollover Traps

When ExtensionType::TransferFeeConfig (TLV type u16 0x0100, payload length 108 bytes / 0x6c00) is initialized on TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb, the runtime allocates two 32-byte authorities (transfer_fee_config_authority and withdraw_withheld_authority), an 8-byte mint withheld_amount counter, and two distinct 18-byte TransferFee structs: older_transfer_fee and newer_transfer_fee. Each 18-byte struct stores an activation epoch (u64), a maximum_fee cap (u64), and transfer_fee_basis_points (u16, capped at 10,000 = 100.00%). During every TransferCheckedWithFee instruction, the SVM reads Clock::get()?.epoch and automatically selects newer_transfer_fee the exact slot current_epoch >= newer_transfer_fee.epoch!

Sophisticated rug teams exploit this two-slot schedule to fool traders and static bots without sending a single suspicious transaction during the pump. Near the end of Solana Epoch E (or two epochs prior via SetTransferFee [0x1a, 0x05]), the attacker configures older_transfer_fee to 0 bps, stages newer_transfer_fee at 10,000 bps (100% tax) with maximum_fee = u64::MAX, and even renounces transfer_fee_config_authority so the contract looks completely immutable! Retail buyers enjoy 0% tax until the epoch boundary ticks over—at which point 100% of every sell transfer is silently withheld inside the AMM vault's TransferFeeAmount extension, returning 0 WSOL to the seller while withdraw_withheld_authority harvests the entire token supply.

108-Byte ExtensionType::TransferFeeConfig (Type 1) Binary Dissection
Mint TLV Header @ Offset [166..170]: type = 0x0100 (1), length = 0x6c00 (108 bytes)

  [170..202] transfer_fee_config_authority : 0x00..00 (Renounced AFTER staging trap!)
  [202..234] withdraw_withheld_authority   : 6nQp4vWz...8tKm3rYx (Attacker Harvester)
  [234..242] withheld_amount               : 0 (u64 LE)
  [242..260] older_transfer_fee (18B)      : epoch = 714 | max_fee = 0 | bps = 0 (0.00%)
  [260..278] newer_transfer_fee (18B)      : epoch = 716 | max_fee = u64::MAX | bps = 10000 (100%!)

Live Sysvar Clock Comparison:
  Current Mainnet Epoch : 715 (96.4% complete -> ~2h 48m until Epoch 716 rollover)
  Post-Rollover Net Sell: 1,000,000 TKN sent -> 1,000,000 TKN withheld -> 0.0000 WSOL out!
  Layer-10 Verdict      : CRITICAL_STAGED_100PCT_TAX (newer_transfer_fee == 10,000 bps)

Lamport & EV Forensics: Taxed Exit Haircuts vs Zero-Fee Token-2022 Rent Reclamation

Even sub-100% transfer fee hikes devastate trading EV because Token-2022 transfer fees compound on BOTH entry and exit swaps. If an active transfer_fee_config_authority raises transfer_fee_basis_points from 100 bps (1%) to 5,000 bps (50%) while you hold a position, a 4.0 SOL stake that doubled in spot price to 8.0 SOL loses 50% of its token quantity en route to the AMM vault, yielding barely 4.0 SOL before slippage—erasing 100% of profits—while a 10,000 bps flip wipes out all 4,000,000,000 lamports of principal. Meanwhile, every buyer ATA created for a TransferFeeConfig mint attaches ImmutableOwner (4B) plus TransferFeeAmount (12B), growing to 182 bytes and locking 2,157,600 lamports.

Worse, if any dusty transfer ever left withheld_amount > 0 inside bytes [174..182] of that 182-byte ATA, naive rent cleaners fail with AccountHasWithheldTransferFees when calling 0x09 CloseAccount. Solana Rent & Rug Shield automatically prepends permissionless HarvestWithheldTokensToMint ([0x1a, 0x04]) right before CloseAccount ([0x09]) in one atomic transaction—unlocking 2,157,600 lamports per Token-2022 fee ATA (and 2,039,280 lamports per standard 165-byte SPL ATA) at a 0% 1st-claim fee versus Sol Incinerator (~2%–5%) and ClaimYourSol (5%).

Compounded Transfer-Tax EV Loss & 182-Byte ATA Rent Math
1. Active Authority Tax Hike Impact (Entry @ 0% Tax -> Authority Sets 9,000 bps / 90%):
   Principal Invested            : 4.00000000 SOL (4,000,000,000 lamports)
   Tokens Sold Toward AMM Pool   : 10,000,000 TKN
   Withheld in Pool Vault (90%)  :  9,000,000 TKN (Harvested by Attacker)
   Net Tokens Swapped for WSOL   :  1,000,000 TKN -> ~0.39800000 SOL (-90.05% loss!)

2. Exact Rent Locked in 40 Fee-Bearing Token-2022 ATAs (182B) + 40 SPL ATAs (165B):
   40 x 182B Token-2022 ATAs     : 40 * 2,157,600 =  86,304,000 lamports
   40 x 165B Legacy SPL ATAs     : 40 * 2,039,280 =  81,571,200 lamports
   Gross Recoverable Rent        : 167,875,200 lamports (0.16787520 SOL)
   ClaimYourSol (5% Fee)         : 159,481,440 lamports (-8,393,760 lamports lost)
   Rent & Rug Shield (0% 1st)    : 167,875,200 lamports (100% kept + 0 revert failures)

Why Layer-10 Dual-Epoch Inspection Beats RugCheck, SolSniffer & GoPlus

Legacy APIs routinely display only the currently active epoch fee—calling get_epoch_fee(current_epoch) without comparing newer_transfer_fee against older_transfer_fee or verifying whether transfer_fee_config_authority remains live. Consequently, a token running 0 bps in Epoch 715 with 10,000 bps armed for Epoch 716 (and a renounced config authority!) fools single-value tax badges on SolSniffer, GoPlus, and superficial Telegram bots right up until the epoch rollover steals 100% of seller liquidity. Similarly, cached REST responses miss sudden SetTransferFee ([0x1a, 0x05]) mutations during fast-moving pumps.

Solana Rent & Rug Shield's 11-Layer architecture audits BOTH older_transfer_fee and newer_transfer_fee simultaneously against live Sysvar Clock epoch progress, flags any non-zero transfer_fee_config_authority capable of future hikes, checks withdraw_withheld_authority concentration in Layer-11 Sybil graphs, and simulates post-fee net WSOL output in Layer-7. Whether scanning manually in the web app, auto-shielding Phantom swaps via Chrome Extension v4.2.0, or gating sniper bots via 24h, 30-Day, and Monthly passes ($0 auto-billing) with 30% ?ref= revenue share, you see staged taxes before buying.

Token-2022 TransferFeeConfig Trap Audit & Rent Sweep Comparison

DimensionSolana Rent & Rug ShieldSol Incinerator / ClaimYourSolRugCheck / SolSniffer / GoPlus
Dual-Epoch Tax ComparisonDecodes both older_transfer_fee & staged newer_transfer_feeNo pre-buy mint TLV fee inspectionOften shows only active epoch bps, missing staged 10,000 bps
Config Authority Hike RiskFlags live transfer_fee_config_authority in <120msZero Token-2022 authority risk scoring30-180s cache delay misses SetTransferFee [0x1a, 0x05] spikes
Post-Tax Net WSOL SimulationLayer-7 calculates exact net SOL out after withheld feeNo swap quote simulationDoes not simulate compounded fee + AMM slippage impact
Withheld-Fee ATA ClosingAuto-bundles [0x1a, 0x04] Harvest + [0x09] CloseAccountCan fail on stuck withheld_amount or charge ~2%-5% cutNo Token-2022 rent reclamation tooling
1st-Claim Recovery Fee0% fee — full 2,039,280 to 2,157,600+ lamports returned~2% to 5% platform fee deducted from recovered SOLN/A
Pass Terms & ?ref= Split24h / 30-Day / Monthly ($0 auto-billing) + 30% ?ref= SOLZero x402 / bot API gates; lower referral payoutsRecurring billing traps; zero instant on-chain 30% SOL split

4-Step Playbook: Audit Staged Transfer Taxes & Unlock Fee-Bearing ATAs

Step 1: Inspect All 108 Bytes of ExtensionType 1 Pre-Swap

Paste the Token-2022 mint into our 11-Layer scanner. Layer-10 unpacks older_transfer_fee, newer_transfer_fee, and transfer_fee_config_authority directly from live mainnet RPC bytes.

Step 2: Block Staged Epoch Hikes & Live Tax Authorities

Reject any token where newer_transfer_fee.transfer_fee_basis_points exceeds safe bounds (up to 10,000 bps = 100% confiscation) or where an unrenounced authority can stage future hikes.

Step 3: Harvest Residual Withheld Fees & Close Empty ATAs

Connect your wallet to scan zero-balance 182-byte Token-2022 fee accounts and 165-byte SPL accounts. Our builder automatically prepends HarvestWithheldTokensToMint ([0x1a, 0x04]) whenever withheld_amount > 0.

Step 4: Keep 100% First-Claim SOL & Monetize With 30% ?ref=

Sign locally to recover 2,039,280 to 2,157,600+ lamports per account at a 0% 1st-claim fee, and share your ?ref= link for instant 30% SOL affiliate splits.

Frequently Asked Questions

How can a Token-2022 tax jump from 0% to 100% with zero developer transactions?

Token-2022's TransferFeeConfig stores both older_transfer_fee and newer_transfer_fee inside the Mint account. A developer can pre-configure newer_transfer_fee to 10,000 bps (100%) set for an upcoming Solana epoch—and even renounce transfer_fee_config_authority afterward. The instant Sysvar Clock reaches that epoch, the SVM enforces the 100% tax automatically.

Where do confiscated tokens go when a 10,000 bps transfer fee triggers on a sell?

When you sell into a Raydium or Meteora pool under a 10,000 bps fee, 100% of your transferred tokens are sequestered inside the destination pool vault's TransferFeeAmount.withheld_amount field, delivering zero swappable tokens to the AMM curve (0 WSOL out) while withdraw_withheld_authority harvests the withheld tokens.

Why does closing an empty Token-2022 tax token account fail on basic wallets?

Even when your spendable token balance (bytes 64..72) equals zero, previous incoming transfers may have left non-zero withheld fee tokens inside bytes [174..182] (TransferFeeAmount). Calling 0x09 CloseAccount directly fails until permissionless HarvestWithheldTokensToMint ([0x1a, 0x04]) sweeps those withheld tokens to the Mint—which our cleaner bundles automatically.

How much SOL rent is locked inside a Token-2022 TransferFee Associated Token Account?

A Token-2022 ATA with ImmutableOwner (4B) and TransferFeeAmount (12B) occupies 182 bytes, locking (128 + 182) * 6,960 = 2,157,600 lamports (0.00215760 SOL), compared to 2,039,280 lamports for a 165-byte legacy SPL ATA. Our 0% 1st-claim fee returns 100% of every lamport.

Institutional Pricing Ladder ($0 Free 1st Claim + $19.99 / $49.99 / $99 / $500 Passes)

New layers included free during active pass, $0 auto-billing. Settle instantly in SOL, SPL USDC, Stripe Card, or autonomous HTTP 402 (x402).

Free 1st Claim & 24h Trench Pass

$0 Free 1st Scan & 0% 1st Claim

Keep 2,039,280 / 2,039,280 lamports (0.00203928 SOL) on your first wallet claim vs Sol Incinerator ~2% and ClaimYourSol 5%. Extra single 11-Layer scan: $0.10. 24h Trench Pass: $1.99.

Launch Live Scanner

30-Day Trader Pro

$19.99/mo$39.99/mo

Unlimited Web & Telegram 11-Layer pre-buy audits including Layer-11 Block-0 Jito/Sybil Cluster Defense, beating RugCheck, SolSniffer, and GoPlus.

Activate $19.99 Trader Pro

30-Day Ultra Pro + Sniper Bot API

$49.99/mo$99.00/mo

15,000 API calls/mo ($0.0033/call) + real-time Rug Webhooks + Layer-11 Block-0 Sybil & Token-2022 TLV flags for automated trading bots.

Get $49.99 Sniper Bot API

30-Day Quant Desk Pro API

$99.00/mo$199.00/mo

100,000 API calls/mo ($0.00099/call), <120ms Priority SLA + Batch Sybil funding graph endpoints & Streamable HTTP MCP.

Unlock $99 Quant Desk API

Enterprise Unlimited API

$500/mo$999/mo

Unlimited B2B RPC-backed 11-Layer scoring feeds for wallets, DEX terminals, and launchpads with 100+ RPS throughput and 99.95% SLA.

Provision $500/mo Enterprise SLA

Autonomous HTTP x402 & MCP

x402 v2 Zero-Signup Agent Pay

Machine-native Solana USDC & SOL settlement via /api/x402/v2 and /mcp with 14,640h Mainnet telemetry proof.

Inspect x402 & MCP Spec
Zero-Custody On-Chain Affiliate Engine (3,000 bps)

Earn a Sticky 30% Atomic ?ref= Split (+50% Higher Than 20% Programs)

Paste any valid Solana wallet address to generate your shareable ?ref=<Wallet> link. Every referred pass checkout ($1.99 / $19.99 / $49.99 / $99 / $500) or repeat rent cleanup splits 30% directly to your wallet inside the same unsigned Solana transaction with zero custody, zero withdrawal minimums, and automatic self-referral protection.

Related Solana Security & Rent Forensics Guides

Unit M023 • Cluster D

Token-2022 Malicious TransferHook Honeypot Detector | Layer-10 Audit

Audit Token-2022 TransferHook honeypots via 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + earn a 30% ?ref= split.

Unit M024 • Cluster D

Token-2022 PermanentDelegate Rug Scanner & TLV Audit | 11-Layer Gate

Block Token-2022 PermanentDelegate rugs with 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + earn a 30% ?ref= split.

Unit M026 • Cluster D

Token-2022 DefaultAccountState Frozen & Soulbound Detector | 11-Layer

Stop Token-2022 DefaultAccountState::Frozen traps via 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + 30% ?ref= split.

Unit M027 • Cluster D

Reclaim Token-2022 Withheld-Fee Empty Accounts | 0% 1st Rent Claim

Unlock stuck Token-2022 withheld-fee ATAs + 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) to 2,157,600 at 0% 1st claim + 30% ?ref= split.

Unit M032 • Cluster E

Ledger Solana Rent Recovery Without Blind Signing (0% 1st Claim)

Clear-sign native 0x09 closures on Ledger: reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim with 11-Layer Shield and 30% ?ref= split.

Unit M039 • Cluster F

Solana Security MCP Server (/mcp): 11-Layer Shield & Rent Tools

Connect our JSON-RPC /mcp server for 11-Layer Shield checks, 0% 1st claim of 2,039,280 lamports (0.00203928 SOL) per ATA, and a 30% ?ref= split.