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:Block_services.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

Call RPC POST /chains/chain/mempool/unban_all_operations

val monitor_operations : Tezos_rpc.Context.streamed -> ?chain:Block_services.chain -> ?applied:bool -> ?branch_delayed:bool -> ?branch_refused:bool -> ?refused:bool -> ?outdated:bool -> ?validation_passes:int list -> unit -> (((Tezos_base.TzPervasives.Operation_hash.t * Block_services.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

Call RPC POST /chains/chain/mempool/request_operations

OCaml

Innovation. Community. Security.