A bloXroute websocket client written in Go.
This library provides typesafe APIs, not just a raw chan string channel. For example, SubscribeNewTxs() outputs messages to a chan *types.Transaction channel.
Each bloXroute subscribe returns a unique subscription ID, see Creating a Subscription
. This library takes advantage of this feature to provide a flexible output mechanism: each SubscribeXXX() has a outpuCh channel, multiple SubscribeXXX() calls can output to the same channel, or to a different channel.