package tezos-embedded-protocol-genesis

  1. Overview
  2. Docs
val shell_header : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_crypto.Block_hash.t * int | `Level of Stdlib.Int32.t ] -> unit -> (Tezos_base.Block_header.shell_header, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val protocol_data : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_crypto.Block_hash.t * int | `Level of Stdlib.Int32.t ] -> unit -> (P.block_header_data, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val raw_protocol_data : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?block: [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_crypto.Block_hash.t * int | `Level of Stdlib.Int32.t ] -> unit -> (Stdlib.Bytes.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.