Module Evm_node_lib_prod.Rpc_encodings

module JSONRPC : sig ... end

Encodings for the JSON-RPC standard. See https://www.jsonrpc.org/specification.

module Error : sig ... end
type 'result rpc_result = ('result, Error.t JSONRPC.error) Stdlib.result
type ('input, 'output) method_ = ..
module type METHOD = sig ... end

API of an Ethereum method.

module Kernel_version : METHOD with type input = unit and type output = string
module Kernel_root_hash : METHOD with type input = unit and type output = string option
module Network_id : METHOD with type input = unit and type output = string
module Web3_clientVersion : METHOD with type input = unit and type output = string
type map_result =
  1. | Method : ('input, 'output) method_ * (module METHOD with type input = 'input and type output = 'output) -> map_result
  2. | Unsupported
  3. | Unknown
val map_method_name : string -> map_result