Expand description
Re-exported from reth_rpc::rpc.
Traits§
- ToRpc
Result - Helper trait to easily convert various
Resulttypes into [RpcResult]
Functions§
- block_
id_ to_ str - Formats a
BlockIdinto an error message. - internal_
rpc_ err - Constructs an internal JSON-RPC error.
- internal_
rpc_ err_ with_ data - Constructs an internal JSON-RPC error with data
- invalid_
params_ rpc_ err - Constructs an invalid params JSON-RPC error.
- rpc_err
- Constructs a JSON-RPC error, consisting of
code,messageand optionaldata. - rpc_
error_ with_ code - Constructs an internal JSON-RPC error with code and message