package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val pending_operations : Tezos_rpc.Context.simple -> ?chain:chain -> ?version:version -> ?validated:bool -> ?branch_delayed:bool -> ?branch_refused:bool -> ?refused:bool -> ?outdated:bool -> ?validation_passes:int list -> unit -> t Tezos_base.TzPervasives.tzresult Lwt.t

Call RPC GET /chains/chain/mempool/pending_operations

  • Default version is 0.
  • Default validated is true.
  • Default branch_delayed is true.
  • Default branch_refused is true.
  • Default refused is true.
  • Default outdated is true.
  • Default validation_passes is []

Call RPC POST /chains/chain/mempool/ban_operation

Call RPC POST /chains/chain/mempool/unban_operation

val unban_all_operations : Tezos_rpc.Context.simple -> ?chain:chain -> unit -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t

Call RPC POST /chains/chain/mempool/unban_all_operations

val monitor_operations : Tezos_rpc.Context.streamed -> ?chain:chain -> ?version:version -> ?validated:bool -> ?branch_delayed:bool -> ?branch_refused:bool -> ?refused:bool -> ?outdated:bool -> ?validation_passes:int list -> unit -> (((Tezos_base.TzPervasives.Operation_hash.t * Next_proto.operation) * Tezos_base.TzPervasives.error Tezos_base.TzPervasives.trace option) list Lwt_stream.t * Tezos_rpc.Context.stopper) Tezos_base.TzPervasives.tzresult Lwt.t

Call RPC GET /chains/chain/mempool/monitor_operations

val request_operations : Tezos_rpc.Context.simple -> ?chain:chain -> ?peer_id:Tezos_base.P2p_peer.Id.t -> unit -> unit Tezos_base.TzPervasives.tzresult Lwt.t

Call RPC POST /chains/chain/mempool/request_operations

OCaml

Innovation. Community. Security.