Hierarchy

Constructors

Properties

addresses: {
    [key: PaymentAddress]: AddressStatus;
} = {}

Type declaration

chainHistoryProvider: ChainHistoryProvider

WebSocket based ChainHistoryProvider implementation.

clientId: string = NOT_CONNECTED_ID

The client id, assigned by the server.

closePromise: Promise<void>
closeResolver: (() => void)

Type declaration

    • (): void
    • Returns void

deferredRequests: DeferredRequests = ...
epoch$: Observable<EpochRollover>

Emits on epoch rollover.

epochSubject$: Subject<EpochRollover>
handlers: Map<number, WSHandler> = ...
health$: Observable<WSHealthCheckResponse>

Emits the health state.

heartbeatInterval: number
heartbeatTimeout: undefined | Timeout
logger: Logger
networkInfo: {
    eraSummaries$: Observable<EraSummary[]>;
    genesisParameters$: Observable<CompactGenesis>;
    ledgerTip$: Observable<PartialBlockHeader>;
    lovelaceSupply$: Observable<SupplySummary>;
    protocolParameters$: Observable<ProtocolParameters>;
    stake$: Observable<StakeSummary>;
}

The Observable form of NetworkInfoProvider.

Type declaration

networkInfoProvider: NetworkInfoProvider

WebSocket based NetworkInfoProvider implementation.

networkInfoSubjects: {
    eraSummaries$: ReplaySubject<EraSummary[]>;
    genesisParameters$: ReplaySubject<CompactGenesis>;
    ledgerTip$: ReplaySubject<PartialBlockHeader>;
    lovelaceSupply$: ReplaySubject<SupplySummary>;
    protocolParameters$: ReplaySubject<ProtocolParameters>;
    stake$: ReplaySubject<StakeSummary>;
} = ...

Type declaration

requestId: number = 0
status: WSStatus = 'idle'
transactions: Txs = {}
url: URL
utxoProvider: UtxoProvider

WebSocket based UtxoProvider implementation.

utxos: Txs = {}
ws: WebSocket

Methods

Generated using TypeDoc