Helius SDK - v3.4.0
    Preparing search index...

    Interface ParsedTransactionSubscription<V>

    An active subscription. Iterate it with for await; it survives reconnects. The iterator ends when you unsubscribe or close the client, and throws if the subscription can't be kept alive (slow consumer, rejected filter on resubscribe, or reconnect attempts exhausted).

    interface ParsedTransactionSubscription<V = ParsedTransactionValue> {
        subscriptionId: number | undefined;
        unsubscribe(): Promise<boolean>;
    }

    Type Parameters

    Hierarchy

    Index

    Properties

    Methods

    Properties

    subscriptionId: number | undefined

    Current server-assigned id. Changes after a reconnect.

    Methods

    • Stop the subscription. Resolves true if the server confirmed it.

      Returns Promise<boolean>