Module web3::helpers

source ·
Expand description

Web3 helpers.

Structs

Value-decoder future. Takes any type which is deserializable from rpc::Value and a future which yields that type, and yields the deserialized value

Functions

Build a JSON-RPC request.
Serialize a type. Panics if the type is returns error during serialization.
Parse bytes slice into JSON-RPC notification.
Parse bytes slice into JSON-RPC response.
Parse rpc::Output into Result.
Parse a Vec of rpc::Output into Result.
Serializes a request to string. Panics if the type returns error during serialization.