Module Evm_node_lib_dev_tezlink.Tezos_services

include module type of struct include Tezlink_imports end
module Protocol_types : sig ... end
module type BLOCK_SERVICES = sig ... end
module Imported_protocol : sig ... end

We add to Imported_protocol the mocked protocol data used in headers

module Block_services : sig ... end
module Zero_block_services : sig ... end
module Genesis_block_services : sig ... end
val wrap : ('a -> ('b, 'c) Stdlib.result) -> ('d -> 'e -> 'f -> ('a, 'c) Stdlib.result Lwt.t) -> 'd -> 'e -> 'f -> ('b, 'c) Stdlib.result Lwt.t

wrap conversion service_implementation changes the output type of service_implementation using conversion.

val import_service : ([< Resto.meth ] as 'a, 'b, 'b, 'c, 'd, 'e, 'f) Tezos_rpc.Service.raw -> ('a, 'g, 'g, 'c, 'd, 'e, 'f) Tezos_rpc.Service.raw

import_service s makes it possible to substitute new prefix and param types in the signature of the service s.

val import_service_with_arg : ([< Resto.meth ] as 'a, 'b, 'b * 'c, 'd, 'e, 'f, 'g) Tezos_rpc.Service.raw -> ('a, 'h, 'h * 'c, 'd, 'e, 'f, 'g) Tezos_rpc.Service.raw

import_service_with_arg s makes it possible to substitute new prefix types in the signature of the service s. It also substitute the param but keeps the last arg of the n-uplet intact.

val make_env : chain -> block -> tezlink_rpc_context Lwt.t

Builds a tezlink_rpc_context from paths parameters.

module Constants_services : sig ... end
module Adaptive_issuance_services : sig ... end
module Raw_services : sig ... end
type level_query = Protocol_plugin_services.level_query = {
  1. offset : int32;
}
val version : ([ `GET ], unit, unit, unit, unit, Tezos_version.Octez_node_version.t) Tezos_rpc.Service.t
val chain_id : ([ `GET ], chain, chain, unit, unit, Tezos_base.TzPervasives.Chain_id.t) Tezos_rpc.Service.t
val operation : ([ `GET ], tezlink_rpc_context, (tezlink_rpc_context * int) * int, < force_metadata : bool ; metadata : [ `Always | `Never ] option ; version : Tezos_shell_services.Block_services.version >, unit, Tezos_shell_services.Block_services.version * Block_services.operation) Tezos_rpc.Service.t
val injection_operation : ([ `POST ], unit, unit, < async : bool ; chain : chain option >, bytes, Tezos_base.TzPervasives.Operation_hash.t) Tezos_rpc.Service.t