@polkadot/api
Version:
Promise and RxJS wrappers around the Polkadot JS RPC
7 lines (6 loc) • 349 B
TypeScript
import type { BlockNumber, EventRecord, ExtrinsicStatus, H256, SignedBlock } from '@polkadot/types/interfaces';
export declare function filterEvents(txHash: H256, { block: { extrinsics, header } }: SignedBlock, allEvents: EventRecord[], status: ExtrinsicStatus): {
events?: EventRecord[];
txIndex?: number;
blockNumber?: BlockNumber;
};