API Reference w3ws v0.2.0

Modules

Ethereum ABI Functions

W3WS Envelope

Event struct representing a decoded event

Base module for W3WS handlers

Default W3WS handler which logs received events

W3WS Listener which handles the websocket connection and subscribes to configured ethereum events.

W3WS Listener Manager. Starts up and manages listeners using provided :listeners and/or by loading listener config from the given :otp_app.

W3WS Messages for ethereum jsonrpc

W3WS RawEvent represents an encoded event.

W3WS Replayer is a Task that executes each replay in parallel. Each replay fetches the logs, decodes if possible, and calls the handler with each event. Each replay iterates from the from_block to the to_block using chunk_size number of blocks. When the replayer has reached the to_block it will stop and shutdown.

W3WS RPC Server

Utility functions