Kzg: {
    blobToKzgCommitment(blob: Uint8Array): Uint8Array;
    computeBlobKzgProof(blob: Uint8Array, commitment: Uint8Array): Uint8Array;
}

Type declaration

  • blobToKzgCommitment:function
    • Convert a blob to a KZG commitment.

      Parameters

      • blob: Uint8Array

      Returns Uint8Array

  • computeBlobKzgProof:function
    • Given a blob, return the KZG proof that is used to verify it against the commitment.

      Parameters

      • blob: Uint8Array
      • commitment: Uint8Array

      Returns Uint8Array