Try it Live
Run Blob examples in the interactive playground
- Standard API
- Factory API
KZG Commitment Scheme
KZG commitments use polynomial commitment scheme over BLS12-381 curve:- Blob as Polynomial - 4096 field elements become polynomial coefficients
- Commitment - Evaluate polynomial at secret point (from trusted setup)
- Binding - Computationally infeasible to find different blob with same commitment
Security Properties
Commitment Utilities
Blob.Commitment Namespace
See Also
- toProof - Generate KZG proof
- verify - Verify commitment and proof
- toVersionedHash - Compute versioned hash
- KZG - KZG commitment scheme details

