UNPKG

@polkadot/api

Version:

Promise and RxJS wrappers around the Polkadot JS RPC

6 lines (5 loc) 305 B
import type { 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; };