# EIP-1153: Transient Storage Opcodes

Source: https://www.eipsfordesigners.com/standards/EIP-1153
Agent brief: https://www.eipsfordesigners.com/standards/EIP-1153/agent.md
Machine-readable JSON: https://www.eipsfordesigners.com/api/standards/EIP-1153
Last reviewed: 2026-04-05
Last updated: 2026-04-05

| Field | Value |
| --- | --- |
| Status | Final |
| Chain | both |
| Category | DeFi Patterns |
| Journey stages | Gas & Fees |
| Detailed guide | Yes |
| Official specification | https://eips.ethereum.org/EIPS/eip-1153 |
| Discussion search | https://ethereum-magicians.org/search?q=EIP-1153 |

## UX Impact

Transactions use cheaper temporary storage that persists only within the transaction — invisible to users but enables lower gas costs. Design implications: not directly user-facing, but enables cheaper reentrancy-protected swaps, lower gas estimates for complex multi-step transactions, simpler single-tx approval patterns. Design decisions: when to show gas savings from transient storage vs traditional storage, whether to surface this as a 'gas optimized' badge on protocols using it, no direct UI needed but affects gas estimation accuracy.

## Summary

EIP-1153 introduced transient storage - data that exists only for a single transaction and is automatically cleared afterward. This is much cheaper than regular storage for temporary values like reentrancy locks. For users, this means lower gas costs on DeFi operations that use callbacks and complex multi-step transactions.

## For Designers

- You can design UI that delivers transient storage costs ~100 gas for same operation.
- You can design UI that delivers transient storage auto-clears, no cleanup cost.
- You can design UI that delivers pass data between calls cheaply via transient storage.

## Applicability

### When to Use

- Your product addresses: temporary data was expensive to store.
- Your product addresses: callback patterns wasted gas.
- The flow should deliver: transient storage costs ~100 gas for same operation.
- Fee screens need estimates, speed options, and plain-language breakdowns.

### When to Avoid

- Show "Optimized" badge and savings amount.
- Show "Saved $X vs legacy" when meaningful.
- Just show "Gas Optimized" or "Efficient" badge.
- No token balances, swaps, lending, or yield flows appear in the product.

## Problems It Solves

### Temporary data was expensive to store

Impact: high

Old way: Reentrancy locks cost 20,000 gas to set, 5,000 to clear

New way: Transient storage costs ~100 gas for same operation

### Callback patterns wasted gas

Impact: high

Old way: Flash loans and callbacks stored then deleted state

New way: Transient storage auto-clears, no cleanup cost

### Complex transactions were expensive

Impact: medium

Old way: Multi-step DeFi needed multiple storage writes

New way: Pass data between calls cheaply via transient storage

### Reentrancy protection added significant gas overhead

Impact: medium

Old way: Every protected function paid storage costs

New way: Near-free reentrancy guards

## Anti-Patterns

### Hiding gas optimization benefits

Severity: medium

Users don't know they're getting better deal

Instead: Show "Optimized" badge and savings amount

### Not comparing to legacy costs

Severity: low

Users can't appreciate the improvement

Instead: Show "Saved $X vs legacy" when meaningful

### Over-explaining technical details

Severity: low

Users don't need to know about TSTORE/TLOAD opcodes

Instead: Just show "Gas Optimized" or "Efficient" badge

## UI Components

### GasSavingsBadge

Shows when transaction benefits from EIP-1153
States: optimized, standard, unknown
Props: savingsAmount, savingsPercent, showTooltip

### GasBreakdownList

Itemized gas costs with optimization highlighting
States: loading, loaded, error
Props: items[], total, optimizations[]

### ProtocolEfficiencyBadge

Indicates protocol uses gas-efficient patterns
States: optimized, standard
Props: optimizations[], tooltip

## On Monad

### Already Low Gas Costs

Ethereum: Transient storage savings very noticeable

Monad: Gas already cheap, savings less dramatic

Design implication: Focus on speed benefits rather than cost savings

### Transaction Throughput

Ethereum: Cheaper callbacks mean more complex txs viable

Monad: Already supports complex transactions efficiently

Design implication: Transient storage still helps but impact less visible to users

### DeFi Patterns

Ethereum: Flash loans much cheaper with EIP-1153

Monad: Same patterns work, optimizations compounded

Design implication: Monad DeFi protocols should still use transient storage

## UX Patterns

### Gas Savings Display

Show users when transient storage reduces their costs

User flow:

- User sets up flash loan strategy
- Gas estimated with transient storage optimizations
- Savings shown compared to legacy approach
- User sees net profit including optimized gas
- Execute with confidence in lower costs

Mockup registry key: `concept/gas-abstraction` (React UI on the live standard page).

### DeFi Action Breakdown

Show gas breakdown including transient storage benefits

User flow:

- User views transaction details
- Gas breakdown shows individual costs
- Transient storage optimizations highlighted
- Total cost displayed
- User understands where gas goes

Mockup registry key: `concept/one-click-swap` (React UI on the live standard page).

### Protocol Efficiency Badge

Show which protocols use gas-efficient patterns

User flow:

- User comparing DEX options
- Optimized protocols marked
- Gas costs clearly compared
- User can factor efficiency into choice

Mockup registry key: `concept/one-click-swap` (React UI on the live standard page).

## Related Standards

- ERC-3156: Flash loans benefit significantly from transient storage for callbacks

- EIP-1559: Base fee + EIP-1153 together make DeFi more predictable and cheaper

- ERC-4337: Account abstraction operations can use transient storage for validation data
