UNPKG

verusd-web

Version:

A Verus Blockchain library that enables a bi-directional communication with the Verus and other Verus PBaas chains.

14 lines (13 loc) 429 B
import { SubscriptionEventsHandler } from "verus-zmq-client"; import { WsServer } from "./WsServer"; export declare class ZmqClient { private client?; private wsServer; private host; private port; private eventHandler; constructor(host: string, port: number, wsServer: WsServer, eventHandler?: SubscriptionEventsHandler); connect(): void; disconnect(): void; private getDefaultEventHandler; }