tezos-shell-services

Tezos: descriptions of RPCs exported by `tezos-shell`
Library tezos-shell-services
type chain = [
| `Main
| `Test
| `Hash of Tezos_crypto.Chain_id.t
]
type chain_prefix = unit * chain
val chain_path : ( unit, chain_prefix ) Tezos_rpc.RPC_path.t
val parse_chain : string -> ( chain, string ) result
val chain_to_string : chain -> string
val chain_arg : chain Tezos_rpc.RPC_arg.t
type block = [
| `Genesis
| `Head of int
| `Alias of [ `Caboose | `Checkpoint | `Save_point ] * int
| `Hash of Tezos_crypto.Block_hash.t * int
| `Level of Int32.t
]
val parse_block : string -> ( block, string ) result
val to_string : block -> string
type prefix = (unit * chain) * block
val mempool_path : ( 'a, 'b ) Tezos_rpc.RPC_path.t -> ( 'a, 'b ) Tezos_rpc.RPC_path.t
val live_blocks_path : ( 'a, 'b ) Tezos_rpc.RPC_path.t -> ( 'a, 'b ) Tezos_rpc.RPC_path.t
type operation_list_quota = {
max_size : int;
max_op : int option;
}
type raw_context =
| Key of Bytes.t
| Dir of (string * raw_context) list
| Cut
val pp_raw_context : Format.formatter -> raw_context -> unit
type Tezos_base__TzPervasives.error +=
| Invalid_depth_arg of int
module type PROTO = sig ... end
type protocols = {
current_protocol : Tezos_crypto.Protocol_hash.t;
next_protocol : Tezos_crypto.Protocol_hash.t;
}
val protocols : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> ( protocols, Tezos_base__TzPervasives.error list ) result Lwt.t
module Make (Proto : PROTO) (Next_proto : PROTO) : sig ... end
module Empty : sig ... end