package tezos-client-genesis

  1. Overview
  2. Docs
val shell_header : Tezos_rpc.Context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_base.TzPervasives.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_base.TzPervasives.Block_hash.t * int | `Level of Int32.t ] -> unit -> Tezos_base.Block_header.shell_header Tezos_base.TzPervasives.tzresult Lwt.t
val protocol_data : Tezos_rpc.Context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_base.TzPervasives.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_base.TzPervasives.Block_hash.t * int | `Level of Int32.t ] -> unit -> Tezos_protocol_genesis.Protocol.block_header_data Tezos_base.TzPervasives.tzresult Lwt.t
val raw_protocol_data : Tezos_rpc.Context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_base.TzPervasives.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_base.TzPervasives.Block_hash.t * int | `Level of Int32.t ] -> unit -> Tezos_base.TzPervasives.Bytes.t Tezos_base.TzPervasives.tzresult Lwt.t