Module Evm_node_lib_prod.Services

val version_service : ([ `GET ], unit, unit, unit, unit, string) Mavryk_rpc.Service.service
val client_version : string
type 'a batched_request =
  1. | Singleton of 'a
  2. | Batch of 'a list
val request_encoding : 'a Mavryk_base.TzPervasives.Data_encoding.encoding -> 'b batched_request Mavryk_base.TzPervasives.Data_encoding.encoding
val dispatch_service : path:('a, 'b) Resto.Path.t -> ([ `POST ], 'a, 'b, unit, Rpc_encodings.JSONRPC.request batched_request, Rpc_encodings.JSONRPC.response batched_request) Mavryk_rpc.Service.service
val decode : 'a. (module Rpc_encodings.METHOD with type input = 'a) -> Mavryk_base.TzPervasives.Data_encoding.json -> 'a
val encode : 'a. (module Rpc_encodings.METHOD with type output = 'a) -> 'a -> Mavryk_base.TzPervasives.Data_encoding.json
val build : 'input 'output. (module Rpc_encodings.METHOD with type input = 'input and type output = 'output) -> f: ('input option -> ('output, string * Evm_node_lib_prod_encoding.Ethereum_types.hash option) Either.t Mavryk_base.TzPervasives.tzresult Lwt.t) -> Mavryk_base.TzPervasives.Data_encoding.json option -> Rpc_encodings.JSONRPC.value Lwt.t
val rpc_ok : 'a -> (('b, 'c) Either.t, 'd) Stdlib.result Lwt.t
val rpc_error : ?data:'a -> 'b -> (('c, 'd * 'a option) Either.t, 'e) Stdlib.result Lwt.t
val missing_parameter : unit -> (('a, string * 'b option) Either.t, 'c) Stdlib.result Lwt.t
val expect_input : 'a option -> ('b -> (('c, string * 'd option) Either.t, 'e) Stdlib.result Lwt.t) -> (('c, string * 'd option) Either.t, 'e) Stdlib.result Lwt.t
val build_with_input : (module Rpc_encodings.METHOD with type input = 'a and type output = 'b) -> f: ('c -> ('b, string * Evm_node_lib_prod_encoding.Ethereum_types.hash option) Either.t Mavryk_base.TzPervasives.tzresult Lwt.t) -> Mavryk_base.TzPervasives.Data_encoding.json option -> Rpc_encodings.JSONRPC.value Lwt.t
val generic_dispatch : 'a -> 'b -> unit Mavryk_rpc.Directory.directory -> (unit, unit) Resto.Path.t -> ('c -> 'd -> Rpc_encodings.JSONRPC.request -> Rpc_encodings.JSONRPC.response Lwt.t) -> unit Mavryk_rpc.Directory.directory