package tezos-shell-services

  1. Overview
  2. Docs
type chain = [
  1. | `Main
  2. | `Test
  3. | `Hash of Tezos_base.TzPervasives.Chain_id.t
]
val parse_chain : string -> (chain, string) Stdlib.result
val to_string : chain -> string
val chain_arg : chain Tezos_rpc.Arg.t
type invalid_block = {
  1. hash : Tezos_base.TzPervasives.Block_hash.t;
  2. level : Stdlib.Int32.t;
  3. errors : Tezos_base.TzPervasives.error list;
}
type prefix = unit * chain
val path : (unit, prefix) Tezos_rpc.Path.path
val checkpoint : Tezos_rpc.Context.simple -> ?chain:chain -> unit -> (Tezos_base.Block_header.t * int32 * int32 * History_mode.t) Tezos_base.TzPervasives.tzresult Lwt.t
module Levels : sig ... end
module Blocks : sig ... end
module Invalid_blocks : sig ... end
module S : sig ... end
OCaml

Innovation. Community. Security.