WebsocketClient

liewhite.ethers.rpc.WebsocketClient
See theWebsocketClient companion object
class WebsocketClient(val url: String, id: Ref[Long])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def newHeads(): ZStream[Any, Throwable, Header]
def newLogs(filter: LogFilter): ZStream[Any, Throwable, Log]
def newPendingTxs(withBody: Boolean): ZStream[Any, Throwable, Transaction]
def subscribe[T : Schema, O : Schema](params: T): ZStream[Any, Throwable, O]

Concrete fields

val url: String
val wsClient: OkHttpClient