Optional
initialOptional
maxThe maximum time between reconnection attempts, in seconds.
Optional
passwordThe password to use for authenticating to the websocket. If a password or private key are not supplied, the connection will be a "guest" connection.
Optional
usernameThe username to use for authenticating to the websocket, if the wallet format requires a username.
Optional
walletThe wallet format to use if a password was supplied. Defaults to
kristwallet
.
Optional
privatekeyInstead of a password, the raw private key to use for authenticating to the websocket. No wallet format will be applied. If a private key or password are not supplied, the connection will be a "guest" connection.
Optional
sha256The SHA-256 function to use. Defaults to a pure JS implementation. You do not normally need to supply this.
Generated using TypeDoc
The events to subscribe to. Defaults to
[]
- no events will be received.