Expand description
Web3 helpers.
Structs§
- Call
Future - Calls decode on the result of the wrapped future.
Functions§
- arbitrary_
precision_ deserialize_ workaround - Deserialize bytes into T. It looks for arbitrary_precision feature as a temporary workaround for https://github.com/tomusdrw/rust-web3/issues/460.
- build_
request - Build a JSON-RPC request.
- decode
- Takes any type which is deserializable from rpc::Value and such a value and yields the deserialized value
- serialize
- Serialize a type. Panics if the type is returns error during serialization.
- to_
notification_ from_ slice - Parse bytes slice into JSON-RPC notification.
- to_
response_ from_ slice - 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.
- to_
result_ from_ output - Parse
rpc::Output
intoResult
. - to_
results_ from_ outputs - Parse a Vec of
rpc::Output
intoResult
. - to_
string - Serializes a request to string. Panics if the type returns error during serialization.