package tezos-shell-services

  1. Overview
  2. Docs
val list : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?heads:Tezos_crypto.Block_hash.t list -> ?length:int -> ?min_date:Tezos_base.Time.Protocol.t -> unit -> (Tezos_crypto.Block_hash.t list list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
include module type of Block_services.Empty
type block_metadata = Block_services.Make(Block_services.Fake_protocol)(Block_services.Fake_protocol).block_metadata = {
  1. protocol_data : Block_services.Fake_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 : Block_services.operation_list_quota list;
}
val block_info_encoding : block_info Data_encoding.t
val raw_header : Tezos_rpc.RPC_context.simple -> ?chain:Block_services.chain -> ?block:Block_services.block -> unit -> (Stdlib.Bytes.t, Tezos_error_monad.TzCore.error list) Stdlib.result 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
type protocols = {
  1. current_protocol : Tezos_crypto.Protocol_hash.t;
  2. next_protocol : Tezos_crypto.Protocol_hash.t;
}
val protocols : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:Block_services.block -> unit -> (protocols, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.