Module Evm_node_lib_dev.Rollup_services

type Mavryk_base.TzPervasives.error +=
  1. | Lost_connection
val gc_info_encoding : (int32 * int32 * int32 option) Mavryk_base.TzPervasives.Data_encoding.encoding
val gc_info : ([ `GET ], unit, unit, unit, unit, int32 * int32 * int32 option) Mavryk_rpc.Service.service
type state_value_query = {
  1. key : string;
}
module Block_id : sig ... end
val state_value_query : state_value_query Mavryk_rpc.Query.t
val durable_state_value : ([ `GET ], unit, unit * Block_id.t, state_value_query, unit, bytes option) Mavryk_rpc.Service.service
val batcher_injection : ([ `POST ], unit, unit, unit, string Mavryk_base.TzPervasives.trace, string Mavryk_base.TzPervasives.trace) Mavryk_rpc.Service.service
val simulation : ([ `POST ], unit, unit, unit, Simulation.Encodings.simulate_input, Mavryk_base.TzPervasives.Data_encoding.json) Mavryk_rpc.Service.service
val global_block_watcher : ([ `GET ], unit, unit, unit, unit, Mavkit_smart_rollup.Sc_rollup_block.t) Mavryk_rpc.Service.service
val global_current_mavryk_level : ([ `GET ], unit, unit, unit, unit, int32 option) Mavryk_rpc.Service.service
val call_service : base:Uri.t -> ?media_types:Mavryk_rpc_http.Media_type.t list -> ([< Resto.meth ], unit, 'a, 'b, 'c, 'd) Mavryk_rpc.Service.t -> 'e -> 'f -> 'g -> ('h, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val make_streamed_call : rollup_node_endpoint:Uri.t -> (Mavkit_smart_rollup.Sc_rollup_block.t Lwt_stream.t * (unit -> unit), Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val publish : rollup_node_endpoint:Uri.t -> [< `External of string ] list -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val durable_state_subkeys : ([ `GET ], unit, unit * Block_id.t, state_value_query, unit, string list option) Mavryk_rpc.Service.service
val smart_rollup_address : Uri.t -> (string, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t

smart_rollup_address base asks for the smart rollup node's address, using the endpoint base.

val oldest_known_l1_level : Uri.t -> (int32, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val mavryk_level : Uri.t -> (int32, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t

mavryk_level base asks for the smart rollup node's latest l1 level, using the endpoint base.