zkverifyjs
Version:
Submit proofs to zkVerify and query proof state with ease using our npm package.
6 lines • 480 B
TypeScript
import { ApiPromise, SubmittableResult } from '@polkadot/api';
import { EventEmitter } from 'events';
import { TransactionType } from '../../../enums';
import { TransactionInfoByType } from '../types';
export declare const handleTransactionEvents: <T extends TransactionType>(api: ApiPromise, events: SubmittableResult["events"], transactionInfo: TransactionInfoByType[T], emitter: EventEmitter, transactionType: T) => TransactionInfoByType[T];
//# sourceMappingURL=index.d.ts.map