This page is a placeholder. All examples on this page are currently AI-generated and are not correct. This documentation will be completed in the future with accurate, tested examples.
KZG Proofs
Generate and verify cryptographic proofs that a polynomial evaluates to a specific value at a given point.
Overview
KZG proofs enable proving p(z) = y where:
p(x) is the polynomial representing the blob
z is the evaluation point (32 bytes)
y is the claimed value (32 bytes)
- Proof is 48 bytes
Compute Proof
Benefits: Tree-shakeable, testable with mock c-kzg
Verify Proof
Blob Proof Verification
Optimized verification for blob-commitment pairs:
Batch Verification
Verify multiple proofs efficiently:
Error Handling