Helius SDK - v5.0.0
    Preparing search index...

    Interface ParsedStreamsReconnectInfo

    Passed to onReconnect once subscriptions are restored on a new connection. onDisconnect gets the same fields when the connection drops.

    interface ParsedStreamsReconnectInfo {
        closeCode: number;
        lastSlot: number | undefined;
    }
    Index

    Properties

    Properties

    closeCode: number

    WebSocket close code that started the outage (e.g. 1000 idle, 1001 deploy, 1006 network).

    lastSlot: number | undefined

    Highest context.slot delivered before the disconnect, or undefined if none was. Transactions after it that confirmed while disconnected were not delivered; backfill them from RPC if you need them.