Events emitted by GeyserParser.

1.0.0

interface GeyserParserEvents {
    account: ((acct: ParsedAccountUpdate, filters: string[]) => void);
    blockMeta: ((meta: ParsedBlockMeta, filters: string[]) => void);
    entry: ((entry: ParsedEntry, filters: string[]) => void);
    error: ((error: Error, raw: RawGeyserUpdate) => void);
    filtered: ((raw: RawGeyserUpdate, reason: string) => void);
    slot: ((slot: ParsedSlotUpdate, filters: string[]) => void);
    transaction: ((tx: ParsedTransaction, filters: string[]) => void);
    update: ((update: ParsedGeyserUpdate) => void);
}

Properties

account: ((acct: ParsedAccountUpdate, filters: string[]) => void)

Emitted specifically for parsed account updates.

blockMeta: ((meta: ParsedBlockMeta, filters: string[]) => void)

Emitted for block meta updates.

entry: ((entry: ParsedEntry, filters: string[]) => void)

Emitted for entry updates.

error: ((error: Error, raw: RawGeyserUpdate) => void)

Emitted when parsing fails for a single message.

filtered: ((raw: RawGeyserUpdate, reason: string) => void)

Emitted when an update is filtered out.

slot: ((slot: ParsedSlotUpdate, filters: string[]) => void)

Emitted specifically for slot updates.

transaction: ((tx: ParsedTransaction, filters: string[]) => void)

Emitted specifically for parsed transactions.

update: ((update: ParsedGeyserUpdate) => void)

Emitted for every successfully parsed update.