---
title: "KZG Commitment (Kate-Zaverucha-Goldberg) — definition | Nuri Glossary"
description: "A compact, verifiable commitment to a polynomial, used for blobs and many proof systems."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/kzg-commitment"
---

# KZG Commitment (Kate-Zaverucha-Goldberg)

A compact, verifiable commitment to a polynomial, used for blobs and many proof systems.

## Basically

A KZG commitment is a small digital fingerprint for data. Ethereum's blob transactions and many zero-knowledge proof systems use it to check data without showing all of it.

## Key Takeaways

- A KZG commitment compresses data into one elliptic curve point, so proofs stay the same size regardless of the data volume. Elliptic curve pairings verify the proofs.
- Ethereum's proto-danksharding (EIP-4844) uses KZG commitments to prove data availability for blob transactions, cutting rollup data costs by roughly 90%.
- KZG requires a trusted setup ceremony. Ethereum's ceremony collected over 141,000 contributions, making it the largest of its kind. The setup is secure as long as at least one participant destroyed their secret.

## What Is a KZG Commitment?

A KZG commitment is a cryptographic commitment scheme for polynomials, named after Aniket Kate, Gregory Zaverucha, and Ian Goldberg, who introduced it in 2010. A prover can commit to a polynomial with one elliptic curve point and later prove properties, such as its value at a specific input, without revealing the whole polynomial.
A KZG commitment works like a fingerprint for data. A fingerprint identifies a person without revealing everything about them, while a KZG commitment identifies a dataset encoded as a polynomial in just 48 bytes. Anyone can check claims about the data with a compact proof, without downloading the original data.
KZG commitments support modern blockchain scaling. They underpin Ethereum's blob transaction system (EIP-4844), the PLONK proving system used in many ZK-rollups, and various other zero-knowledge proof constructions. Their constant-size proofs are useful for on-chain verification, where every byte of calldata costs gas.

## How It Works

KZG commitments use three phases: setup, commitment, and proof verification. Each phase uses elliptic curve mathematics, especially bilinear pairings on curves such as BLS12-381.

## Trusted Setup

A one-time trusted setup creates a structured reference string (SRS) before anyone can use KZG. The SRS contains powers of a secret value τ (tau), encoded as elliptic curve points.
The secret τ must never be known to anyone after the ceremony ends. Anyone who learns τ could forge commitments and fake proofs. Multi-party computation assembles τ from contributions by many independent participants, so the setup remains secure as long as at least one participant honestly destroyed their secret share.

## Committing to Data

The prover first encodes the data as a polynomial. Values [v₀, v₁, v₂,...] become a polynomial p(x) that passes through those points, which the prover evaluates "inside" the elliptic curve using the SRS to compute the commitment.
The prover never learns τ directly. Elliptic curve arithmetic combines the public SRS points with the polynomial coefficients, producing one 48-byte curve point that uniquely represents the polynomial. The commitment is binding, so the prover cannot change the polynomial after committing, and hiding, so it reveals nothing about the polynomial's coefficients.

## Opening and Verification

The prover computes a quotient polynomial for an opening proof. The proof states that the polynomial has value y at point z, written p(z) = y.
The verifier checks the proof with an elliptic curve pairing equation. The check confirms that the committed polynomial evaluates to y at point z without showing the verifier the polynomial. Verification needs only two pairing operations and runs in constant time regardless of the polynomial's degree.

## EIP-4844 Blob Transactions

Ethereum's proto-danksharding upgrade (EIP-4844) is the most prominent deployment of KZG commitments. It activated in March 2024 with the Dencun hard fork. Each blob transaction carries up to six blobs of approximately 128 KB each, with a KZG commitment for every blob.
The commitment is a compact fingerprint of the blob data. Consensus-layer nodes store and propagate the full blob data for roughly 18 days, but execution-layer nodes need only the 48-byte commitment. Smart contracts access blob commitments through versioned hashes, which prefix the commitment hash with a 0x01 version byte, via the BLOBHASH opcode.
A point evaluation precompile allows on-chain verification of claims about blob contents. A rollup's on-chain contract can verify that specific data was included in a blob without reading the full blob, providing data availability guarantees at a fraction of the cost of calldata. Rollups using blob transactions have seen data costs drop by approximately 90% compared with posting data as calldata.
EIP-4844 and the blob fee market provide a deeper analysis of how blobs changed Ethereum's fee dynamics. Read that entry for more detail.

## Data Availability Sampling

KZG commitments are central to Ethereum's roadmap for full danksharding. Data availability sampling (DAS) will let validators verify that blob data is available by downloading only a few random samples rather than the entire dataset. KZG makes this possible because the polynomial structure allows any individual evaluation to be verified against the commitment.
DAS lets each validator sample a small number of points. Enough independent confirmations give the network high statistical confidence that the full data is available. This approach scales blob throughput dramatically without requiring each node to download all data.

## Zero-Knowledge Proof Systems

KZG commitments are a core building block in many zk-SNARK systems. PLONK, one of the most widely deployed proving systems, uses KZG as its polynomial commitment backend. Constant-size proofs of approximately 0.5 KB for PLONK and fast verification make KZG-based SNARKs practical for on-chain proof verification.
Sonic, Marlin, and the original Plonky1 also use or have used KZG commitments. Research has shown that nearly all known zk-SNARKs with constant-size arguments rely on KZG or a closely related polynomial commitment. Zero-knowledge proofs and Bitcoin applications provide a broader look at how zero-knowledge proofs apply across blockchains.

## Rollup Validity Proofs

ZK-rollups such as zkSync, Scroll, and Polygon zkEVM use KZG-based proving systems to generate validity proofs for batches of transactions. The rollup operator commits to the state transition using polynomials, and the on-chain verifier checks a constant-size proof to confirm that thousands of transactions were executed correctly. Constant verification costs regardless of batch size make ZK-rollups scalable.

## The Ethereum KZG Ceremony

Ethereum organised the largest trusted setup ceremony ever conducted because KZG requires one. The ceremony ran from January to August 2023 and collected 141,416 contributions from participants around the world. Contributors used browser-based tools, custom scripts, and even hardware in space, with Cryptosat contributing from a satellite, to add entropy.
The resulting SRS is secure as long as at least one of those 141,416 contributors honestly generated randomness and destroyed their secret, so no one can forge KZG proofs. The scale of participation makes it practically impossible that every single contributor was compromised or dishonest.
The ceremony generated the structured reference string now used by all EIP-4844 blob transactions on Ethereum mainnet. The SRS supports polynomials up to degree 4,096, matching the number of field elements in a single blob.

## Trusted Setup Dependency

KZG's reliance on a trusted setup is its most debated property. Reconstructing the secret τ would require collusion among all ceremony participants, but would let an attacker forge valid-looking proofs for arbitrary data. The 141,000+ participant ceremony makes this practically impossible, yet it remains a theoretical concern and a philosophical departure from trustless systems.
Alternative commitment schemes like FRI, used in STARKs, avoid trusted setups entirely but produce larger proofs. The tradeoff between setup trust and proof size is a fundamental design decision in cryptographic protocol engineering.

## Post-Quantum Vulnerability

KZG commitments rely on the hardness of the discrete logarithm problem on elliptic curves with bilinear pairings. A sufficiently powerful quantum computer running Shor's algorithm could break this assumption, allowing an attacker to extract τ from the SRS or forge proofs directly. Ethereum's own documentation flags KZG as vulnerable to quantum attacks and identifies STARK-based commitments, which rely on hash functions rather than pairings, and lattice-based schemes as potential replacements.
No practical quantum computer capable of this attack exists today, but the concern shapes long-term protocol planning. Post-quantum cryptography and the Bitcoin threat model provide more on quantum threats to cryptographic systems.

## Curve-Specific Assumptions

KZG commitments used in Ethereum operate on the BLS12-381 curve, which supports efficient bilinear pairings. This curve choice ties KZG's security to specific mathematical assumptions about the elliptic curve group. Unlike hash-based schemes that can swap underlying primitives relatively easily, migrating KZG to a different curve would require a new trusted setup ceremony.

## Proof Size vs. Setup Tradeoff

KZG proofs are constant-size at 48 bytes for a single opening, making them ideal for on-chain verification where gas costs scale with data size. This compactness comes at the cost of the trusted setup. Systems that prioritise eliminating trust assumptions, like STARKs, accept larger proof sizes of tens to hundreds of kilobytes in exchange for transparent, setup-free security. Choosing between KZG and alternatives depends on whether proof compactness or trust minimisation matters more for a given application.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
