W3WS.Message (w3ws v0.1.0)

W3WS Messages for ethereum jsonrpc

Summary

Functions

Dencode the message from json

Encode the message as json

Create an eth_blockNumber request

Create an eth_subscribe request

Create an eth_subscribe request for "logs"

Create an eth_unsubscribe request

Functions

Link to this function

decode!(message)

Dencode the message from json

Link to this function

encode!(message)

Encode the message as json

Link to this function

eth_block_number(opts \\ [])

Create an eth_blockNumber request

Link to this function

eth_subscribe(params, opts \\ [])

Create an eth_subscribe request

Link to this function

eth_subscribe_logs(topics, opts \\ [])

Create an eth_subscribe request for "logs"

Link to this function

eth_unsubscribe(sub_id, opts \\ [])

Create an eth_unsubscribe request