zkverifyjs
Version:
Submit proofs to zkVerify and query proof state with ease using our npm package.
22 lines • 936 B
TypeScript
import { VerifyOptions } from '../../types.js';
import { EventEmitter } from 'events';
import { BatchVerifyTransactionInfo } from '../../../types.js';
import { VerifyInput } from '../../../api/verify/types.js';
import { ProofOptions } from '../../../config/index.js';
export declare class BatchVerificationBuilder {
private readonly batchExecuteVerify;
private readonly options;
private nonceSet;
private registeredVkSet;
constructor(batchExecuteVerify: (options: VerifyOptions, input: VerifyInput[]) => Promise<{
events: EventEmitter;
transactionResult: Promise<BatchVerifyTransactionInfo>;
}>, proofOptions: ProofOptions, accountAddress?: string);
nonce(nonce: number): this;
withRegisteredVk(): this;
execute(input: VerifyInput[]): Promise<{
events: EventEmitter;
transactionResult: Promise<BatchVerifyTransactionInfo>;
}>;
}
//# sourceMappingURL=index.d.ts.map