Data Availability Sampling (DAS)
Randomly sampling pieces of block data to confirm it was published, without downloading the whole block.
Basically
Data availability sampling lets you check that block data was published without downloading the whole block. You check a few random pieces, and special coding helps confirm that the rest is available.
Key Takeaways
- Data availability sampling (DAS) lets light nodes verify that block data was fully published without downloading it all, solving the data availability problem that limits blockchain scalability.
- DAS uses erasure coding to expand block data with redundancy so that any 50% or more of the chunks can reconstruct the original, then lets nodes randomly sample a small number of chunks and verify them using KZG polynomial commitments.
- Ethereum's roadmap progresses from proto-danksharding (EIP-4844) through PeerDAS to full DankSharding, while purpose-built data availability layers like Celestia and Avail already use DAS in production.
What Is Data Availability Sampling?
Data availability sampling (DAS) lets blockchain nodes confirm that a block's data was published to the network without downloading the entire block. Each node randomly requests a small number of chunks instead of fetching all block data, then uses cryptographic proofs to verify their correctness. Enough successful random samples give the node a high probabilistic guarantee that the full data is available and reconstructable.
Rollups post transaction data to a base layer so that anyone can reconstruct state and verify execution. As rollup data grows, requiring every node to download everything defeats the purpose of scaling. A block producer could publish a block header while withholding the underlying data and preventing others from verifying transactions, but DAS lets even resource-constrained light clients catch this attack without trusting anyone.
How It Works
DAS combines three components: erasure coding, polynomial commitments and random sampling. Erasure coding adds redundancy, polynomial commitments enable verification, and random sampling provides probabilistic guarantees.
Erasure Coding
Reed-Solomon erasure coding expands block data before sampling can happen. The process transforms the original data into a larger dataset with built-in redundancy, and any 50% or more of the chunks can reconstruct the original.
A malicious block producer must withhold at least 50% of the extended data to prevent reconstruction. Even hiding a small portion of the original data causes roughly half the extended data to be missing, making the withholding attack detectable with relatively few random samples.
Many DAS implementations use a 2D erasure coding scheme in practice. The data is arranged in a square matrix and erasure-coded in both row and column dimensions. For a k x k original matrix, the extended matrix becomes 2k x 2k, which reduces fraud proof sizes and simplifies verification compared to 1D encoding.
KZG Polynomial Commitments
Sampling alone is not enough because a node must verify that each sampled chunk is consistent with the committed data. DAS uses KZG (Kate-Zaverucha-Goldberg) polynomial commitments for this purpose. A block producer commits to the data polynomials, and any node can verify a sampled chunk against the commitment with a compact proof.
KZG commitments have key properties that make them ideal for DAS. These properties let nodes verify sampled chunks against the committed data with compact proofs.
KZG commitments require a one-time trusted setup ceremony to generate public parameters. Ethereum's KZG ceremony attracted over 141,000 contributors, and the scheme's security requires only that a single participant was honest and destroyed their secret contribution.
Random Sampling and Probabilistic Guarantees
A light client randomly requests a small number of chunks from different network peers and verifies each against the KZG commitment. The node concludes that the full data was published if all sampled chunks are valid and available.
The security guarantee is probabilistic. With 2D erasure coding, an attacker must withhold at least 25% of shares to prevent reconstruction. Each random sample has a 3/4 chance of hitting an available chunk even when data is being withheld, so for Q independent samples, the probability of falsely accepting unavailable data is (3/4)^Q.
Roughly 30 random samples give a light node 99.99% confidence that the data is available. Many light nodes sampling independently collectively ensure that the network samples enough data for full reconstruction.
DankSharding and Ethereum's DAS Roadmap
Ethereum's approach to DAS follows a multi-phase rollout. The roadmap builds the required infrastructure incrementally.
Proto-Danksharding (EIP-4844)
Proto-danksharding, deployed in the Dencun upgrade (March 2024), introduced blob-carrying transactions with KZG commitments and a separate fee market for blob data. It does not include data availability sampling, so all nodes must still download every blob in full. Proto-danksharding established the transaction format and commitment scheme that full DankSharding will build upon, starting with a target of 3 blobs (roughly 384 KB) per block; the EIP-4844 blob fee market analysis examines the economics in more depth.
PeerDAS (EIP-7594)
PeerDAS, activated in the Fusaka upgrade (December 2025), allows nodes to verify blob availability through peer-based sampling rather than downloading every blob. Blob parameters were raised from 6 to 14 (target) and 9 to 21 (max) per block. PeerDAS represents a major step toward full DAS but still does not implement the complete sampling protocol for light clients.
Full DankSharding
Full DankSharding, named after researcher Dankrad Feist, is Ethereum's endgame for data availability. It targets up to 256 blobs per block (roughly 30 MB), a roughly 60x increase over proto-danksharding. The design uses 2D KZG commitments over a 512 x 512 sample matrix, where each validator stores a subset of rows and columns, and full DankSharding is targeted for post-2026 with no confirmed mainnet date yet.
Other Implementations
Several purpose-built data availability layers already use DAS in production. Celestia and Avail serve as DA backends for rollups across multiple ecosystems.
Rollup Scaling
DAS is primarily designed to scale rollups, and both optimistic rollups and ZK-rollups need to post transaction data to a base layer so that anyone can reconstruct state and verify execution. Without DAS, the base layer's data throughput is bottlenecked by how much every node can download. With DAS, the base layer can support orders of magnitude more data without increasing individual node requirements.
Light Client Security
DAS significantly improves the security model for light clients. Before DAS, a light client checking only block headers had no way to know whether the underlying data was actually published, so it had to trust full nodes or accept the risk of data withholding attacks. With DAS, a light client can independently verify data availability using a few dozen random samples and modest bandwidth.
Modular Blockchain Architecture
Modular blockchains separate execution, consensus and data availability into distinct layers. DAS is the enabling technology for dedicated DA layers. Rollups can use a specialised DA layer with DAS guarantees instead of posting all data directly to an expensive execution layer, reducing costs while maintaining security.
Network Assumptions
DAS relies on a sufficient number of honest light nodes sampling independently. If too few nodes participate in sampling, the network cannot guarantee that enough chunks are verified for full reconstruction, and estimates suggest roughly 1,000 or more honest light clients are needed to ensure reliable reconstruction. A network partition or low light client adoption could weaken the guarantee.
Trusted Setup Requirements
KZG-based DAS schemes require a trusted setup ceremony. Ethereum's ceremony had over 141,000 participants and required only one to be honest, but the reliance on a one-time ceremony is a philosophical concern for some in the community. Alternative commitment schemes exist but come with trade-offs in proof size and verification speed.
Reconstruction Complexity
Data reconstruction from erasure-coded chunks is computationally expensive, even though sampling is lightweight. A full node reconstructing missing data must perform polynomial interpolation across many chunks. In a 2D scheme, worst-case reconstruction may require 75% of shares, though recent research from a16z proposes reducing this to 25% through bivariate polynomial interpolation.
Quantum Vulnerability
KZG commitments rely on the hardness of the discrete logarithm problem on elliptic curves, which is vulnerable to quantum computers running Shor's algorithm. Sufficiently powerful quantum computers could compromise the trusted setup if they emerge. Research into post-quantum alternatives, such as hash-based commitments, is ongoing but involves significant trade-offs in proof size and verification efficiency.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.