Skip to content

Does Anything Get Deleted On-Chain? State, Rent and History

By Vault Capital Team·Published on ·15 min read·Also available in Português

Does anything get deleted on-chain? Almost nothing disappears from the record, but the answer depends on separating two things. State is the network's current snapshot: balances, contract code and the data contracts hold. History is the sequence of every block and transaction since the start. Blockchains do not clean up after themselves: data that is written stays until a rule allows it to be removed, and each network creates its own incentives for that. This post explains, from Ethereum's specifications (the EIPs), ethereum.org, the Ethereum Foundation blog, Solana's documentation and queries to the Solana network itself, all read on 27/11/2026, what can go, what cannot and what has changed in recent years.

In short

  • On Ethereum, since 13/03/2024 (EIP-6780), the SELFDESTRUCT instruction no longer deletes an existing contract: it only transfers the balance. Refunds for freeing storage have been capped at 1/5 of gas used since 05/08/2021 (EIP-3529).
  • Since 08/07/2025, every Ethereum execution client lets nodes drop block data from before the Merge, saving 300 to 500 GB. Rolling history expiry, EIP-4444, is still a Draft.
  • History that leaves an ordinary node's disk is not erased from the blockchain: it remains available from other sources, and the headers still allow the chain to be verified from the start.
  • On Solana, "rent" is a refundable deposit. On 27/11/2026, the network charges 5,080 lamports per byte, step 2 of a 5-step reduction; steps 3 to 5 were not active on that date.
  • Closing an account on Solana returns the whole deposit to the address chosen by the account's owner.
Mechanism Network Status on 27/11/2026
SELFDESTRUCT (EIP-6780) Ethereum Does not delete existing contracts since 13/03/2024
Refund for freeing storage (EIP-3529) Ethereum Up to 1/5 of gas used, since 05/08/2021
Partial history expiry Ethereum Pre-Merge data can leave disks since 08/07/2025
Rolling expiry (EIP-4444) Ethereum Draft, still under discussion
State expiry Ethereum In research, according to ethereum.org
Deposit ("rent") Solana 5,080 lamports per byte, per the network
Rent reduction (SIMD-0437) Solana Steps 1 and 2 active; 3 to 5 not active
State compression Solana Root in the account, data in the ledger (2023 sources)

Why blockchains do not clean up after themselves

In programming, a garbage collector is the mechanism that automatically frees memory a program no longer uses, without the programmer having to ask. A blockchain has nothing like it. Every node, the computer that keeps a copy of the network and checks the rules, must reach exactly the same result as all the others. If one node decided on its own that some data was abandoned and deleted it, it would start disagreeing with the rest.

That is why removing data from state always depends on a rule everyone follows: an instruction that clears a value, an account that gets closed, an agreed protocol change. And whoever writes data pays once, while the network carries it forever. That mismatch is what networks try to address with refunds, deposits and expiry proposals.

State vs history: the difference

Think of a bank account. Today's balance is the state; the full statement since the account was opened is the history. To validate the next block, a node needs the current state. History proves how the network got there and lets you look up the past.

On Ethereum, both weigh heavily. Per ethereum.org, in a page updated on 20/11/2026, "a fast 4TB SSD is recommended for running a full Ethereum node", which uses close to 2 TB when it keeps the full chain history, as of September 2026.

What makes history trustworthy is the chaining: each block carries the hash of the previous one, and altering the past would break the chain. Where that idea came from is covered in Who Invented Blockchain? The 1991 Paper Before Bitcoin.

Alerts on Investing in crypto

An e-mail when something changes on this topic: new rules, deadlines, scams going around and Vault news.

Ethereum: SELFDESTRUCT no longer deletes

SELFDESTRUCT is an instruction (opcode) of the Ethereum virtual machine that a smart contract, a program that lives on the network, can call on itself. For years it removed the contract from state. That changed with EIP-6780, activated in the Dencun upgrade bundle, which reached mainnet on 13/03/2024. Today, outside the transaction in which the contract was created:

"SELFDESTRUCT does not delete any data (including storage keys, code, or the account itself)."

What remains of the instruction is the transfer: "SELFDESTRUCT transfers the entire account balance to the target." Real deletion only happens if the contract is created and destroyed in the same transaction. The EIP also records that the instruction "remains deprecated", meaning discouraged.

A further change exists but is not active: EIP-8246, in Last Call, "removes the remaining cases where SELFDESTRUCT burns ETH". It is on the list for Glamsterdam, an upgrade that has no official mainnet date on 27/11/2026. What a contract is and where it tends to fail is covered in Smart Contracts Explained: What They Are and What Can Fail.

The refund for freeing storage (EIP-3529)

On Ethereum, every operation costs gas, the unit that measures a transaction's work and is paid in ETH. Writing a value to a contract's storage uses the SSTORE instruction. Clearing a stored value frees space in the state, so the network refunds part of the gas.

EIP-3529, activated in the London upgrade on 05/08/2021, reduced that incentive. It removed the SELFDESTRUCT refund and cut the SSTORE refund "to a lower level where the refunds are still substantial". The refund for clearing a value became 4,800 gas, and the total refunded in a transaction was capped at 1/5 of gas used (previously 1/2). The EIP's rationale: refunds existed to encourage "good state hygiene", but the benefit turned out to be much smaller than expected.

Here too there is a proposal under test, not active: EIP-7778, on the Glamsterdam list, stops refunds from reducing the gas counted against the block limit, "while still being applied to transaction gas costs for users."

History: what can leave the disk

The proposal to limit the history each node keeps is EIP-4444, whose status on 27/11/2026 is still Draft, the first formal stage of an EIP. The current text says:

"Clients must stop serving historical headers, bodies, and receipts older than 14,299 epochs on the p2p layer. Clients may locally prune this historical data."

An epoch on Ethereum is 32 slots of 12 seconds. By our calculation, 14,299 epochs come to about 63.5 days. Older versions of the proposal spoke of one year.

What has already happened is a smaller step. On 08/07/2025, the Ethereum Foundation announced: "As of today, all Ethereum execution clients support partial history expiry in accordance with EIP-4444." Partial history expiry lets nodes drop block data from before the Merge, Ethereum's switch from mining to proof of stake, saving "300-500 GB". There was no hard fork: it was support built into the clients themselves.

Three points avoid confusion:

  • The chain remains verifiable. Per the same announcement, "The execution layer will continue to provide all headers which allows cryptographic verification of the chain from genesis."
  • The data does not vanish from the world. It remains available from institutional providers, torrents and the peer-to-peer network itself, according to the Ethereum Foundation.
  • Old balances need a different kind of node. An ordinary node keeps only the current state; looking up an address's balance at a past date requires an archive node, which keeps every intermediate state.

Rolling expiry remains open. Per ethereum.org, on 20/11/2026: "Expiring history on a rolling basis, as EIP-4444 proposes, is still under discussion." Since Fusaka, on 03/12/2025, EIP-7642 "adds an explicit history serving window for nodes to advertise", meaning each node tells others which part of history it still serves.

There is one case where data disappears by design: blobs, temporary data packages used by layer-2 networks. Per the Ethereum Foundation blog of 23/04/2025, "blobs are pruned from the network after 4096 epochs (~18 days)."

State: expiry and statelessness, still in research

While history is starting to leave disks, state keeps growing. ethereum.org, in a page updated on 20/11/2026, describes two lines of research.

State expiry would set inactive state apart, but the page makes clear that "inactive state is not deleted, it is just stored separately from the active state", and that it "is still in the research phase and not yet ready to ship."

Weak statelessness would mean only block proposers need the full state. It depends on other pieces, including a new data structure for state, currently "a unified binary tree (EIP-7864)". Strong statelessness, per the same page, is "not currently expected to be part of Ethereum's roadmap". On the whole set, ethereum.org says these ideas "are expected to ship several years from now"; that is the page's expectation, with no date.

Meanwhile, one proposal targets the pace of growth: EIP-8037, in Last Call and on the Glamsterdam list, aims for "an average state growth of 120 GiB per year at a reference block gas limit of 150M". On 27/11/2026 it is not active, and it is precisely the proposal that led to Glamsterdam being delayed on a test network, as explained in Ethereum Upgrades Explained: Pectra, Fusaka and Glamsterdam.

Solana: rent is a deposit

On Solana, all data lives in accounts, and each account holds a balance in lamports, the smallest fraction of SOL (1 SOL = 1,000,000,000 lamports). To exist, an account must keep a minimum balance proportional to the space it takes up. The historical name is "rent", but Solana's documentation, updated on 24/11/2026, is direct:

"It is a deposit, not a fee: nothing is deducted over time, and the full balance comes back when the account is closed."

The formula from the documentation:

(128 + data size in bytes)
  x lamports per byte

The 128 bytes cover the account's own metadata. On 27/11/2026, mainnet reports 5,080 lamports per byte, from a public query to the network. In practice:

  • an account with no data requires 650,240 lamports (0.00065024 SOL);
  • a token account, at 165 bytes, requires 1,488,440 lamports (0.00148844 SOL).

The runtime and network queries (RPC) still call this amount the "rent-exempt minimum", but ongoing rent collection is disabled. And Solana has an explicit clean-up rule: "An account whose balance drops to zero is removed by the network." The account leaves the state; the transactions that created and closed it stay in history.

The rent reduction: which step it is on

SIMD-0437, a Solana proposal, cuts the per-byte amount from 6,960 to 696 lamports, a 90% reduction, in five steps, each with its own feature gate, the switch that turns the new rule on across the network. The situation on 27/11/2026:

  1. Step 1 (6,960 to 6,333): active on mainnet since 03/09/2026.
  2. Step 2 (to 5,080): active since 11/09/2026 at 21:12 UTC, per the network query. The official "Reduced Rent" page, updated in September 2026, still describes this step as "Live on Testnet".
  3. Steps 3 to 5 (2,575, 1,322 and 696): expected by the Solana Foundation, on the same page, in Agave 4.4, in November 2026. Agave 4.4.0 was released on 28/10/2026, but those gates were not active on the network on 27/11/2026.

By our calculation, 5,080 is about 27% below the original 6,960. The page also warns that "Each feature gate is independent. The activations can be put on hold if the data doesn't support moving forward.", and there is a fallback gate that "resets lamports_per_byte back to 6,960". How networks decide on and activate changes like this is covered in Hard Fork vs Soft Fork: How Blockchains Get Upgraded.

Closing accounts to reclaim the deposit

Because the deposit comes back, closing accounts you no longer need is how you recover the SOL tied up in them. Per Solana's token documentation, "Closing a token account deletes the account and transfers all of its lamports, including its refundable minimum storage balance, to a destination account." The conditions:

  • Zero balance. "The token balance must be zero before the account can close." The exception is wrapped SOL accounts, which can close with a balance.
  • Who receives it. The balance goes to the address chosen by the account's owner or close authority.
  • Whoever paid does not automatically get it back. "The account that paid to create an ATA does not automatically receive the recovered balance." An ATA is an associated token account, created to hold one specific token for a wallet.

Closing an account is a transaction signed by your wallet, and the destination of the balance is inside it.

State compression: data in the ledger

To make storage cheaper, the Solana Foundation launched state compression on 06/04/2023. It uses a Merkle tree, a structure that sums up many pieces of data in a single hash, called the root. The account holds only that root; the data goes to the ledger, the transaction history. Per the guide from the time, "The Merkle roots are stored onchain and updates are stored directly in the Solana ledger".

The cost saving, in the April 2023 estimate: minting 100 million compressed NFTs would cost about 50 SOL, against 1.2 million SOL in the uncompressed version. The price is reliance on third parties to read the data: RPC providers, the servers that answer queries, need to index the ledger. In an update on 21/12/2023, the Solana Foundation acknowledged that the technique "does add complexity to the backend" and that the lower cost brought "new challenges in regards to spam". There is no current page on the topic in the Solana documentation read on 27/11/2026.

What this means for people who hold coins

For someone who only holds coins, there are three practical consequences. First: a recorded transaction stays in the public history, even when it leaves ordinary nodes' disks. Second: an Ethereum contract that calls SELFDESTRUCT after 13/03/2024 does not disappear; it stays there, without its balance. Third: on Solana, empty token accounts hold small deposits that come back when the account is closed.

What to check

  1. If a contract "self-destructed" after 13/03/2024, check the address: the code is still there.
  2. If you need an address's past balances, know that an ordinary node does not keep them; that is a job for an archive node or an indexer.
  3. If you are closing token accounts on Solana, check on the signing screen which address receives the deposit.
  4. If someone offers to "recover the rent" from your wallet, remember it is a transaction you sign yourself; read what you are signing.
  5. If you read that Solana rent "fell 90%", check the active step: on 27/11/2026, the network was on step 2, at 5,080 lamports per byte.

How the contracts that hold this state work, and what tends to go wrong with them, is covered in Smart Contracts Explained: What They Are and What Can Fail.

Crypto assets carry high risk, including significant volatility and the possibility of losing the capital invested, and no form of custody changes that. Vault Capital is a securities consultancy authorized by the CVM under CVM Resolution 19/2021 and works on the principle of advice, never custody: assets stay on the client's own exchanges and wallets. If you want to set up your own wallet with hands-on guidance, the Self-Custody Immersion is built for that, and the FAQ explains how Vault works without custody of client assets.

How Solana changed its consensus in 2026, with official dates and status, is covered in Solana Alpenglow: What Changes in Consensus and Finality.

Frequently asked questions

Can a transaction be deleted from a blockchain?

No. History is chained by hash, and altering an old block would break the chain. What some networks allow is for ordinary nodes to drop old data from their own disks, as with Ethereum's partial history expiry since 08/07/2025; the data remains available from other sources.

What is the difference between state and history?

State is the current snapshot: balances, contract code and the data stored in contracts. History is the sequence of every block and transaction. A node needs the state to validate the next block; history proves how the network got there.

Does SELFDESTRUCT still delete contracts on Ethereum?

Since 13/03/2024, only if the contract is created and destroyed in the same transaction, under EIP-6780. Otherwise the instruction just transfers the balance, and the code and data stay in the state.

What is Solana rent?

It is a minimum deposit each account keeps according to its size. There is no ongoing charge, and the full amount comes back when the account is closed. On 27/11/2026, the network uses 5,080 lamports per byte, plus 128 bytes of metadata per account.

Did Solana rent fall by 90%?

Not as of 27/11/2026. SIMD-0437 plans to reach 696 lamports per byte in five steps. Steps 1 and 2 are active, at 5,080 lamports per byte; steps 3 to 5 were expected by the Solana Foundation in November 2026 and were not active on that date.

How do I reclaim SOL locked in token accounts?

By closing the account, after bringing its token balance to zero. The transaction returns the whole deposit to the address chosen by the account's owner or close authority, which is not necessarily whoever paid to create it.

Let's talk

What you write to a blockchain stays there, and that goes for mistaken transfers and signatures made without reading too. If you want to learn to set up and test your own wallet safely, Vault's Self-Custody Immersion teaches the process hands-on, in person, with the setup validated by a specialist.

Want to hold your crypto safely, on your own?

Vault's Self-Custody Immersion teaches wallets, seed backups and succession planning, hands on.

Learn about the Immersion

Path · Investing in crypto

Start the Investing in crypto path

How Much Bitcoin Should Be in a Portfolio? A Sizing Method

Published references (BlackRock 1% to 2%, Itaú Asset 1% to 3%), 2026 volatility and a four-step method to size bitcoin against total wealth, from Brazil.