package tezos-shell-services

  1. Overview
  2. Docs

Parameters

module Proto : PROTO
module Next_proto : PROTO

Signature

val path : (unit, chain_prefix * block) Tezos_rpc.Path.t
type raw_block_header = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : Proto.block_header_data;
}
type block_metadata = {
  1. protocol_data : Proto.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 : operation_list_quota list;
}
type operation_receipt =
  1. | Empty
  2. | Too_large
  3. | Receipt of Proto.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:chain -> ?block:block -> unit -> block_info Tezos_base.TzPervasives.tzresult Lwt.t
val header : Tezos_rpc.Context.simple -> ?chain:chain -> ?block:block -> unit -> block_header Tezos_base.TzPervasives.tzresult Lwt.t
val metadata : Tezos_rpc.Context.simple -> ?chain:chain -> ?block:block -> unit -> block_metadata Tezos_base.TzPervasives.tzresult Lwt.t
val resulting_context_hash : Tezos_rpc.Context.simple -> ?chain:chain -> ?block:block -> 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
module S : sig ... end
OCaml

Innovation. Community. Security.