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