What Is Data Availability Sampling?

Data availability sampling lets a node verify that block data was published without downloading it, using erasure coding and random samples. This explains the mechanism, why naive sampling fails, and where the trust assumptions actually live.
Lewis Jackson
CEO and Founder

Data availability sampling has appeared in the margins of several posts here — as the missing ingredient in full Danksharding, as the thing proto-danksharding deliberately postponed, and most recently as the technology that could make the commit chain's entire design branch obsolete. It hasn't had its own explanation yet, which is a gap worth closing, because DAS is arguably the single most consequential unsolved-until-recently problem in blockchain scaling. It answers a question that sounds impossible on its face: how can you be confident that data exists — all of it — without downloading it?

Data availability sampling (DAS) is a technique that lets a node verify, to a chosen level of statistical confidence, that the full data behind a block was actually published — by downloading only a handful of small random pieces. The trick that makes it work isn't the sampling. It's the erasure coding underneath, which converts "did they publish everything?" into a question random sampling can genuinely answer.

The Problem It Solves

Start with why availability matters at all, because the failure it guards against is quieter than theft. Rollups and other scaling designs post commitments to data rather than having every node re-execute everything. A commitment — a hash, a polynomial commitment, a Merkle root — proves the data existed when it was created. It can't prove the data was shared. A block producer can publish a perfectly valid commitment and withhold the data behind it, and now nobody can reconstruct the state, prove their balance, or build a fraud proof. Nothing has been provably stolen. Nothing can be verified either. The commit chain post covered what that failure does to a system that can't rule it out: it forces mass exits, or trust.

The naive fix is brute force: download everything and check. That works — it's what Ethereum full nodes do today with blob data — but the cost of verification then scales with the volume of data, which puts a hard ceiling on throughput. That ceiling is the blockchain trilemma showing up in its purest form: more data per block means fewer participants can afford to verify, and the verifying set concentrates. If you want hundreds of rollups posting data to a base layer that ordinary machines can still verify, per-node cost has to stop tracking total data volume. That's the specific thing DAS achieves.

How the Mechanism Works

Here's the part most explanations skip: random sampling, on its own, doesn't work.

Suppose a block carries 1 MB of data and a producer withholds one critical 500-byte chunk — someone's exit proof, say. You sample fifty random pieces. The odds that any of them land on the missing chunk are tiny. The producer publishes 99.9% of the data, your samples all come back fine, and the guarantee you think you have doesn't exist. Sampling can only catch large gaps, and a smart attacker only needs a small one.

Erasure coding closes that hole. Before publication, the data is expanded with redundancy — Reed–Solomon coding is the standard tool — so that the original can be fully reconstructed from any 50% of the extended pieces. This is the same mathematics that lets a scratched CD keep playing. The consequence that matters: there's no longer any such thing as withholding a little bit of data. If more than half the extended pieces are out there, everything is recoverable, including the chunk the attacker cared about. To make even one byte unrecoverable, the attacker must withhold more than half of everything.

And withholding half is exactly what random sampling catches. Each sample is now close to a fair coin flip: if half the data is missing, each request has roughly a 50% chance of hitting a hole. Miss probability halves with every sample. Thirty successful samples push the chance of being fooled below one in a billion. Cost per node: a few kilobytes, regardless of whether the block carries one megabyte or a hundred. Verification cost has been decoupled from data volume — that's the whole result.

One more piece is load-bearing, and it's the subtle one: how do you know the erasure coding itself was done honestly? A malicious producer could publish garbage "redundancy" that doesn't actually reconstruct anything, and samples of garbage look the same as samples of valid data. There are two live answers. Ethereum's design uses KZG polynomial commitments — the same primitive introduced with blob transactions — which make every sample verifiable against the commitment on arrival; an invalidly encoded blob can't produce valid sample proofs, so bad encoding is caught immediately and cryptographically. Celestia's design instead uses a two-dimensional encoding plus bad-encoding fraud proofs: if the coding is wrong, an honest full node can generate a compact proof of that, and light nodes reject the block. Proof-on-arrival versus proof-on-failure — a real trade, with the fraud-proof route requiring at least one honest full node watching and a network that delivers its alarm in time.

There's also an honest asymmetry to state plainly. An individual sampler gets a probabilistic, personal guarantee — "I'm 99.9999% sure the data is out there." The stronger claim is collective: enough independent samplers together hold enough random pieces that the full data can be reconstructed from the network even if the producer vanishes the moment after publication. The individual guarantee is only as good as the population of samplers behind it. DAS is a herd guarantee; a herd is required.

Where the Constraints Live

The hard constraint is cryptographic and combinatorial, and it's genuinely solid: you cannot serve valid samples for data that's majority-withheld, and you can't fake KZG-verified encoding. The soft constraints are networking, and they're where the real risk sits.

First, sample requests need to be effectively unlinkable. An attacker who can tell which node is asking for which pieces can play a targeted game: serve the specific chunks being sampled, withhold the rest. Anonymity or sufficient network diversity in the sampling layer isn't a nice-to-have — it's part of the security model. Second, the sampler population must be large, independent, and not eclipse-able; a small or concentrated set of samplers can be surrounded and fed a consistent lie. Third, timing: samples have to complete inside the slot cadence of a live chain, which turns DAS into a latency engineering problem, not just a math result. And fourth — a scoping point people miss — DAS proves data was available at publication. It is not a storage guarantee. Who keeps the data next week is a separate design question (history expiry, archival networks), deliberately outside what sampling promises.

What's Changing

DAS crossed from research to production some time ago: Celestia has run it live since October 2023, with light nodes sampling in the wild — the existence proof that the technique works outside papers. On Ethereum, the sequence runs through PeerDAS — a simpler one-dimensional variant where nodes sample columns of the blob data over existing p2p infrastructure — as the bridge from "every consensus node downloads all blobs" to full two-dimensional sampling under Danksharding. Deployment timing has moved repeatedly and I won't pretend otherwise; the direction of travel, though, has been consistent for years: raise blob count only as fast as sampling makes it safe to verify. A separate current worth watching is the modular-DA market — Avail, EigenDA, and others selling availability as a service with differing mixes of sampling, committees, and restaked collateral. Not all of what's marketed as "DA" involves sampling; a committee attestation is a different (weaker, cheaper) trust model, and the label often blurs the two.

What Would Confirm This Direction

PeerDAS reaching Ethereum mainnet and blob capacity rising past the current limits without validator dropout or reorg events. Celestia's sampling population continuing to grow while surviving high-load periods without a reconstruction failure. Sampling-based verification appearing in more designs that previously relied on committees — evidence the market prices the difference.

What Would Break or Invalidate It

A demonstrated withholding attack that fools samplers in production — most plausibly via the networking layer (linkable requests, eclipsed samplers) rather than the math. A sampler population that stays too small or too centralized to back the collective reconstruction guarantee, which would quietly convert "verified available" into "attested by a few parties." Or persistent failure to make sampling work inside mainnet slot timing, which would leave the technique correct but undeployable at the layer that matters most.

Timing Perspective

Now: DAS is live on Celestia and is the correct lens for auditing any "scalable DA" claim — ask whether the guarantee comes from sampling, from a committee, or from a signature, because those are three different things. Next: PeerDAS on Ethereum, and the blob-count increases gated on it. Later: full two-dimensional sampling under Danksharding — at which point the historical trade that defined scaling design, security versus data cost, mostly dissolves, and with it the rationale for the off-chain-data constructions this series has been mapping.

Boundary Statement

This is a mechanism explanation. It doesn't cover the KZG trusted setup ceremony, the exact sampling parameters of any live network, or the token economics of modular DA layers — and nothing here ranks Celestia, Ethereum, or any DA provider against each other. The claim being made is narrow: sampling plus erasure coding genuinely decouples verification cost from data volume, subject to networking assumptions that are engineering problems rather than solved facts. Whether any particular system implements those assumptions well is its own analysis.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.