Crate kzg
Structs§
- Blob
- A basic blob data.
- Bytes32
- An array of 32 bytes. Represents an untrusted (potentially invalid) field element.
- Bytes48
- An array of 48 bytes. Represents an untrusted (potentially invalid) commitment/proof.
- KzgCommitment
- A trusted (valid) KZG commitment.
- KzgProof
- A trusted (valid) KZG proof.
- KzgSettings
- Stores the setup and parameters needed for computing KZG proofs.
Enums§
Constants§
- BYTES_
PER_ BLOB - BYTES_
PER_ COMMITMENT - BYTES_
PER_ FIELD_ ELEMENT - BYTES_
PER_ G1_ POINT - BYTES_
PER_ G2_ POINT - BYTES_
PER_ PROOF - FIELD_
ELEMENTS_ PER_ BLOB
Functions§
- ethereum_
kzg_ settings - Returns default Ethereum mainnet KZG settings.
- ethereum_
kzg_ settings_ arc - Returns default Ethereum mainnet KZG settings as an
Arc
.