Skip to main content
Module

x/polkadot/rpc-provider/substrate-connect/types.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

export interface SmoldotHealth { isSyncing: boolean peers: number shouldHavePeers: boolean}
export interface HealthChecker { setSendJsonRpc(sendRequest: (request: string) => void): void start(healthCallback: (health: SmoldotHealth) => void): void stop(): void sendJsonRpc(request: string): void responsePassThrough(response: string): string | null}