Crypto Cho Người Mới / Mô phỏng / Blob Fees (EIP-4844)
Simulator EIP-4844 Blob Fee Market
13/3/2024, Dencun upgrade went live trên Ethereum mainnet. Trong 24 giờ, L2 fee trên Arbitrum, Optimism, và Base drop 5-100×. Lý do: EIP-4844 introduced BLOB — separate, much cheaper data type cho L2 rollup publish batch data họ. Simulator này chạy blob fee market dynamics qua 15-50 block dưới different demand pattern, rồi show rollup batch economics get bạn về $0.01-0.05 per L2 transaction.
Blob fee simulation
Result qua block mô phỏng
Final blob base fee
0.1229 gwei
Final cost per blob
$0.0564
Block-by-block
| Block | Blob base fee (gwei) | Blobs used | vs target (3) | Cost per blob (USD) |
|---|---|---|---|---|
| #1 | 1.0000 | 3 / 6 | 100% | $0.4588 |
| #2 | 1.0000 | 2 / 6 | 67% | $0.4588 |
| #3 | 0.7412 | 3 / 6 | 100% | $0.3400 |
| #4 | 0.7412 | 3 / 6 | 100% | $0.3400 |
| #5 | 0.7412 | 2 / 6 | 67% | $0.3400 |
| #6 | 0.5494 | 3 / 6 | 100% | $0.2520 |
| #7 | 0.5494 | 3 / 6 | 100% | $0.2520 |
| #8 | 0.5494 | 2 / 6 | 67% | $0.2520 |
| #9 | 0.4072 | 2 / 6 | 67% | $0.1868 |
| #10 | 0.3018 | 2 / 6 | 67% | $0.1384 |
| #11 | 0.2237 | 3 / 6 | 100% | $0.1026 |
| #12 | 0.2237 | 2 / 6 | 67% | $0.1026 |
| #13 | 0.1658 | 3 / 6 | 100% | $0.0761 |
| #14 | 0.1658 | 2 / 6 | 67% | $0.0761 |
| #15 | 0.1229 | 2 / 6 | 67% | $0.0564 |
Kinh tế rollup batch (one blob)
L2 user packed per blob
1,638
Cost per blob
$0.0564
Blob cost per L2 user
$0.000034
Pre-4844 L1 calldata cost per user
$0.100800
Savings vs L1 calldata
100.0%
Blob actually là gì — và không là gì
Blob là NEW data type added vào Ethereum block (alongside transaction). Mỗi blob 128 KB. Mỗi block có thể contain 0-6 blob (target: 3). Crucially, blob STORED ~18 NGÀY RỒI PRUNED — không bloat chain forever như calldata do. Đây là breakthrough: rollup cần data temporarily (long enough dispute/verify), không forever. Blob satisfy requirement đó ở 5-100× lower cost so calldata storage.
Blob fee market — independent từ regular gas
Giống EIP-1559 base fee, blob_base_fee adjust mỗi block dựa blob utilization. Target: 3 blob/block. Adjustment: blob_base_fee × exp((blobs_used - 3) / 3.34). Khi 6 blob used (max), fee multiplies bởi ~e^0.9 = 2.46× per block. Khi 0 blob used, fee divides bởi ~e^0.9 = 2.46× per block. Separate market này nghĩa blob fee và regular gas fee move independently — high regular activity không drag blob fee lên.
Rollup batch economics — sao L2 fee crashed
Pre-4844 (e.g., Arbitrum 1/2024): Rollup batch cost ~1M gas của calldata ở 30 gwei = ~$100. Cost đó split giữa ~5000 L2 transaction trong batch = $0.02 per user. Nhưng during high L1 gas (200 gwei), đó $700 / 5000 = $0.14 per user. Post-4844: Blob ở 1 wei cost $0.0005 total. Even at 1000 gwei blob_base_fee (extreme), still $0.50 per blob = $0.0001 per user. Result: L2 fee giờ trong 1-2× L1 transaction cost over whole stack, và variability dropped about zero.
Sao blob target only 3 — và gì tiếp theo
Higher blob target = more rollup throughput, nhưng more bandwidth/storage burden trên mọi Ethereum node. Target = 3 (max 6) là conservative starting point. Roadmap: increase target lên 6 (max 12), rồi lên 32+ khi PeerDAS launches (Peer-to-peer Data Availability Sampling — node only download sample của mỗi blob, verify correctness via cryptography). Full Danksharding (years away) target 64 blob/block = 8 MB/block data, đủ cho 100k+ TPS qua mọi rollup.
Câu hỏi thường gặp
+Sao blob_base_fee usually 1 wei (basically free)?
Vì blob demand đã below target đa số thời gian kể từ launch. Even popular L2 (Arbitrum, Base, Optimism) collectively use about 3 blob/block average — right at target. Khi usage drop below target, blob_base_fee decrease multiplicatively mỗi block, quickly hit floor 1 wei. Only during rare high-demand burst (NFT mint trên L2, mass DEX activity) blob_base_fee rise meaningfully.
+Mọi L2 dùng blob giờ không?
Đa số major rollup switched trong day/week của Dencun: Arbitrum (3/14), Optimism (3/14), Base (3/14), zkSync (4/), Starknet (6/), Scroll (4/). Mọi saw immediate L2 fee reduction. Exception: vài sidechain và chain dùng validium / volition data availability không dùng blob (post elsewhere). Native L1 transaction still dùng regular calldata; only rollup batch data moved sang blob.
+Nếu tôi là L2 user, tôi cần làm gì benefit?
No — L2 user fee automatically dropped khi L2 switched sang blob. Bạn sẽ thấy lower fee trong wallet ngay. Nếu bạn là L2 DAPP DEVELOPER, gas cost cho dapp transaction bạn cũng dropped automatically (L2 rollup eat blob cost; bạn pay L2 trong L2 ETH ở L2 gas price).
+Gì xảy ra khi MỌI 6 blob slot fill consistently?
Blob_base_fee rise exponentially mỗi block (2.46× per max-block) until demand throttle back. Trong extreme scenario này push được blob fee high enough cho vài L2 temporarily pause batch hoặc use alternative data availability. Đã happen vài lần kể từ launch (during peak NFT mint, popular L2 mass event) nhưng typically resolve trong phút khi fee market clear.
+Khi nào blob target increase?
Pectra upgrade (5/2025) increased target lên 6 blob/block (max 9). Future upgrade (Fusaka, Glamsterdam) plan increase further khi PeerDAS roll out. Roadmap target 32+ blob/block by 2027-2028, allowing significantly more rollup throughput.