package tezos-mockup

  1. Overview
  2. Docs
type t_with_version
val pending_operations_version_dispatcher : version:int -> t -> t_with_version Tezos_rpc.RPC_answer.t Lwt.t
val pending_operations : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?version:int -> unit -> (t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val unban_all_operations : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> unit -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t
val monitor_operations : Tezos_rpc.RPC_context.streamed -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?applied:bool -> ?branch_delayed:bool -> ?branch_refused:bool -> ?refused:bool -> ?outdated:bool -> unit -> (((Tezos_crypto.Operation_hash.t * Protocol.operation) * Tezos_error_monad.TzCore.error list option) list Lwt_stream.t * Tezos_rpc.RPC_context.stopper, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val request_operations : Tezos_rpc.RPC_context.simple -> ?chain:[ `Main | `Test | `Hash of Tezos_crypto.Chain_id.t ] -> ?peer_id:Tezos_base.P2p_peer.Id.t -> unit -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.