Module Tezos_shell_services.Chain_services

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
type protocol_info = {
  1. protocol : Tezos_base.TzPervasives.Protocol_hash.t;
  2. proto_level : int;
  3. activation_block : Tezos_base.TzPervasives.Block_hash.t * int32;
}
type active_peers_info = {
  1. peer_id : Tezos_base.P2p_peer.Id.t;
  2. block_hash : Tezos_base.TzPervasives.Block_hash.t;
  3. block_level : Stdlib.Int32.t;
}
type delegators_contribution = {
  1. own_delegated : int64;
  2. delegators_contributions : (string * int64) list;
  3. former_delegators_unstake_requests : int64;
  4. overstaked : int64;
  5. total_delegated_including_overdelegated : int64;
  6. total_delegated_after_limits : int64;
  7. overdelegated : int64;
}
module Delegators_contribution_errors : sig ... end
val path : (unit, prefix) Tezos_rpc.Path.path
module Levels : sig ... end
module Blocks : sig ... end
module Invalid_blocks : sig ... end
module Protocols : sig ... end
module S : sig ... end