High-level Geyser gRPC subscription parser.

Features:

  • Raw mode (passthrough) — zero-cost, returns the raw wire message
  • Parsed mode (parse) — fully decoded, typed output
  • Event-based — optionally emit per-type events for reactive pipelines
  • Stats tracking — counts by type, filtered, errors
  • Config hot-reload — change skipVotes, custom programs, etc. at runtime

1.0.0

Hierarchy

Constructors

Properties

prefixed: string | boolean

Accessors

Methods

  • Type Parameters

    Parameters

    Returns this

  • Register additional custom program IDs → names.

    Parameters

    • programs: Record<string, string>

    Returns void

    1.0.0

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof GeyserParserEvents)[]

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Type Parameters

    Parameters

    Returns this

  • Add a listener for a given event.

    Type Parameters

    Parameters

    Returns this

  • Add a one-time listener for a given event.

    Type Parameters

    Parameters

    Returns this

  • Return the raw update as-is — zero decoding cost.

    Useful when devs want the protobuf wire format for custom decoding, storage, or forwarding.

    Type Parameters

    Parameters

    • raw: T

    Returns T

    1.0.0

  • Remove all listeners, or those of the specified event.

    Parameters

    • Optionalevent: keyof GeyserParserEvents

    Returns this

  • Remove the listeners of a given event.

    Type Parameters

    Parameters

    Returns this