ElectrumCluster

ElectrumCluster# ElectrumCluster

new ElectrumCluster(application, version, confidence, distribution, order, timeout, pingInterval, reconnectInterval, useBigInt)

Parameters:
Name Type Description
application string your application name, used to identify to the electrum hosts.
version string protocol version to use with the hosts.
confidence number wait for this number of hosts to provide identical results.
distribution number request information from this number of hosts.
order ClusterOrder select hosts to communicate with in this order.
timeout number how long network delays we will wait for before taking action, in milliseconds.
pingInterval number the time between sending pings to the electrum host, in milliseconds.
reconnectInterval number the time between reconnection attempts to the electrum host, in milliseconds.
useBigInt boolean whether to use bigint for numbers in json response.