Module fathom_web3::helpers
source · [−]Expand description
Web3 helpers.
Structs
Calls decode on the result of the wrapped future.
Functions
Deserialize bytes into T.
It looks for arbitrary_precision feature as a temporary workaround for https://github.com/tomusdrw/rust-web3/issues/460.
Build a JSON-RPC request.
Takes any type which is deserializable from rpc::Value and such a value and
yields the deserialized value
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.
It looks for arbitrary_precision feature as a temporary workaround for https://github.com/tomusdrw/rust-web3/issues/460.
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.