UNPKG

305 BTypeScriptView Raw
1import type { EventRecord, ExtrinsicStatus, H256, SignedBlock } from '@polkadot/types/interfaces';
2export declare function filterEvents(txHash: H256, { block: { extrinsics, header } }: SignedBlock, allEvents: EventRecord[], status: ExtrinsicStatus): {
3 events?: EventRecord[];
4 txIndex?: number;
5};