UNPKG

zkverifyjs

Version:

Submit proofs to zkVerify and query proof state with ease using our npm package.

22 lines 902 B
import { VerifyOptions } from '../../types.js'; import { EventEmitter } from 'events'; import { VerifyTransactionInfo } from '../../../types.js'; import { VerifyInput } from '../../../api/verify/types.js'; import { ProofOptions } from '../../../config/index.js'; 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