package tezos-shell-services

  1. Overview
  2. Docs
val pending_operations_version_dispatcher : version:int -> t -> t_with_version Tezos_rpc.Answer.t Lwt.t
val pending_operations : Tezos_rpc.Context.simple -> ?chain:chain -> ?version:int -> ?applied: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 applied 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 -> ?applied:bool -> ?branch_delayed:bool -> ?branch_refused:bool -> ?refused:bool -> ?outdated:bool -> ?validation_passes:int list -> unit -> (((Tezos_base.TzPervasives.Operation_hash.t * Fake_protocol.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.