package tezos-embedded-protocol-008-PtEdoTez

  1. Overview
  2. Docs
val path : (unit, (unit * [ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ]) * [ `Genesis | `Head of int | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int | `Hash of Tezos_crypto.Block_hash.t * int | `Level of Stdlib.Int32.t ]) Tezos_rpc.RPC_path.t
type raw_block_header = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : P.block_header_data;
}
type block_metadata = {
  1. protocol_data : P.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 = {
  1. chain_id : Tezos_crypto.Chain_id.t;
  2. hash : Tezos_crypto.Operation_hash.t;
  3. shell : Tezos_base.Operation.shell_header;
  4. protocol_data : P.operation_data;
  5. receipt : P.operation_receipt option;
}
type 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:[ `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 -> (block_info, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val hash : 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_crypto.Block_hash.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val raw_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 -> (Stdlib.Bytes.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val 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 -> (block_header, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val metadata : 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 -> (block_metadata, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val metadata_hash : 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_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:[ `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_crypto.Block_hash.Set.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
module S : sig ... end
OCaml

Innovation. Community. Security.