View Source Yggdrasil.Subscriber.Adapter.Icon.Message (ICON 2.0 SDK v0.2.3)
This module defines functions to deal with ICON 2.0 websocket messages.
When a connection is established with the ICON 2.0 websocket, we need to send
text frame with a JSON payload to state our intention. There are two
:blockfor receiving both ticks on every block and event logs specific to the events we're filtering.
:eventfor receiving updates for a specific event log.
Link to this section Summary
Link to this section Types
Link to this section Functions
Decodes an incoming message from the ICON 2.0 websocket.
Encodes a request for the ICON 2.0 websocket. It receives the
channel to build the request.