Kzg: {
blobToKzgCommitment(blob: Uint8Array): Uint8Array;
computeBlobKzgProof(blob: Uint8Array, commitment: Uint8Array): Uint8Array;
}
Type declaration
blobToKzgCommitment:function
- blobToKzgCommitment(blob): Uint8Array
Returns Uint8Array
computeBlobKzgProof:function
- computeBlobKzgProof(blob, commitment): Uint8Array
Parameters
- blob: Uint8Array
- commitment: Uint8Array
Returns Uint8Array
Convert a blob to a KZG commitment.