package tezos-shell-services

  1. Overview
  2. Docs
val encoding : Mempool.t Tezos_base__TzPervasives.Data_encoding.t
val pending_operations : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `GET ], 'a, 'b, < version : int >, unit, Mempool.t_with_version) Tezos_rpc.RPC_service.t

Define RPC GET /chains/chain/mempool/pending_operations

val ban_operation : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `POST ], 'a, 'b, unit, Tezos_crypto.Operation_hash.t, unit) Tezos_rpc.RPC_service.t

Define RPC POST /chains/chain/mempool/ban_operation

val unban_operation : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `POST ], 'a, 'b, unit, Tezos_crypto.Operation_hash.t, unit) Tezos_rpc.RPC_service.t

Define RPC POST /chains/chain/mempool/unban_operation

val unban_all_operations : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `POST ], 'a, 'b, unit, unit, unit) Tezos_rpc.RPC_service.t

Define RPC POST /chains/chain/mempool/unban_all_operations

val monitor_operations : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `GET ], 'a, 'b, < applied : bool ; branch_delayed : bool ; branch_refused : bool ; refused : bool ; outdated : bool >, unit, ((Tezos_crypto.Operation_hash.t * Next_proto.operation) * Tezos_error_monad.TzCore.error list option) list) Tezos_rpc.RPC_service.t

Define RPC GET /chains/chain/mempool/monitor_operations

val get_filter : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `GET ], 'a, 'b, < include_default : bool >, unit, Tezos_base__TzPervasives.Data_encoding.json) Tezos_rpc.RPC_service.t

Define RPC GET /chains/chain/mempool/filter

val set_filter : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `POST ], 'a, 'b, unit, Tezos_base__TzPervasives.Data_encoding.json, Tezos_base__TzPervasives.Data_encoding.json) Tezos_rpc.RPC_service.t

Define RPC POST /chains/chain/mempool/filter

val request_operations : ('a, 'b) Tezos_rpc.RPC_path.t -> ([ `POST ], 'a, 'b, < peer_id : Tezos_base.P2p_peer_id.t option >, unit, unit) Tezos_rpc.RPC_service.t

Define RPC POST /chains/chain/mempool/request_operations

OCaml

Innovation. Community. Security.