function batchVerify(
struct IPlonkVerifier.VerifyingKey[] verifyingKeys,
uint256[][] publicInputs,
struct IPlonkVerifier.PlonkProof[] proofs,
bytes[] extraTranscriptInitMsgs
) external returns (bool)
Batch verify multiple TurboPlonk proofs.
Name | Type | Description |
verifyingKeys | struct IPlonkVerifier.VerifyingKey[] | An array of verifying keys |
publicInputs | uint256[][] | A two-dimensional array of public inputs. |
proofs | struct IPlonkVerifier.PlonkProof[] | An array of Plonk proofs |
extraTranscriptInitMsgs | bytes[] | An array of bytes from |
transcript initialization messages | | |
Returns | Type | Description |
⇒ | struct IPlonkVerifier.VerifyingKey[] | A boolean that is true for successful verification, false otherwise |