package tezos-shell-services

  1. Overview
  2. Docs
type block_metadata = Make(Fake_protocol)(Fake_protocol).block_metadata = {
  1. protocol_data : 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 : operation_list_quota list;
}
type block_info = Make(Fake_protocol)(Fake_protocol).block_info = {
  1. chain_id : Tezos_crypto.Chain_id.t;
  2. hash : Tezos_crypto.Block_hash.t;
  3. header : raw_block_header;
  4. metadata : block_metadata option;
  5. operations : operation list list;
}
val block_info_encoding : block_info Data_encoding.t
val info : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (block_info, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val hash : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (Tezos_crypto.Block_hash.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val raw_header : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (Stdlib.Bytes.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val header : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (block_header, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val metadata : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (block_metadata, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val metadata_hash : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (Tezos_crypto.Block_metadata_hash.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
val live_blocks : Tezos_rpc.RPC_context.simple -> ?chain:chain -> ?block:block -> unit -> (Tezos_crypto.Block_hash.Set.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
module S : sig ... end
OCaml

Innovation. Community. Security.