package tezos-client-genesis

  1. Overview
  2. Docs
val path : (unit, (unit * [ `Main | `Test | `Hash of Tezos_base.TzPervasives.Chain_id.t ]) * [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_base.TzPervasives.Block_hash.t * int | `Level of Stdlib.Int32.t ]) Tezos_rpc.Path.t
type raw_block_header = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : Lifted_protocol.block_header_data;
}
type block_metadata = {
  1. protocol_data : Lifted_protocol.block_header_metadata;
  2. test_chain_status : Tezos_base.Test_chain_status.t;
  3. max_operations_ttl : int;
  4. max_operation_data_length : int;
  5. max_block_header_length : int;
  6. operation_list_quota : Tezos_shell_services__Block_services.operation_list_quota list;
}
type operation_receipt =
  1. | Empty
  2. | Too_large
  3. | Receipt of Lifted_protocol.operation_receipt
type block_info = {
  1. chain_id : Tezos_base.TzPervasives.Chain_id.t;
  2. hash : Tezos_base.TzPervasives.Block_hash.t;
  3. header : raw_block_header;
  4. metadata : block_metadata option;
  5. operations : operation list list;
}
val info : Tezos_rpc.Context.simple -> ?force_metadata:bool -> ?metadata:[ `Always | `Never ] -> ?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 Stdlib.Int32.t ] -> unit -> block_info Tezos_base.TzPervasives.tzresult Lwt.t
val hash : 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 Stdlib.Int32.t ] -> unit -> Tezos_base.TzPervasives.Block_hash.t Tezos_base.TzPervasives.tzresult Lwt.t
val raw_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 Stdlib.Int32.t ] -> unit -> Tezos_base.TzPervasives.Bytes.t Tezos_base.TzPervasives.tzresult Lwt.t
val 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 Stdlib.Int32.t ] -> unit -> block_header Tezos_base.TzPervasives.tzresult Lwt.t
val metadata : 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 Stdlib.Int32.t ] -> unit -> block_metadata Tezos_base.TzPervasives.tzresult Lwt.t
val metadata_hash : 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 Stdlib.Int32.t ] -> unit -> Tezos_base.TzPervasives.Block_metadata_hash.t Tezos_base.TzPervasives.tzresult Lwt.t
val resulting_context_hash : 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 Stdlib.Int32.t ] -> unit -> Tezos_base.TzPervasives.Context_hash.t Tezos_base.TzPervasives.tzresult Lwt.t
module Header : sig ... end
module Operations : sig ... end
module Operation_hashes : sig ... end
module Operation_metadata_hashes : sig ... end
module Context : sig ... end
module Helpers : sig ... end
module Mempool : sig ... end
val live_blocks : 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 Stdlib.Int32.t ] -> unit -> Tezos_base.TzPervasives.Block_hash.Set.t Tezos_base.TzPervasives.tzresult Lwt.t
module S : sig ... end
OCaml

Innovation. Community. Security.