package tezos-shell-services

  1. Overview
  2. Docs
val pending_operations : ('a, 'b) Tezos_rpc.Path.t -> ([ `GET ], 'a, 'b, < applied : bool ; branch_delayed : bool ; branch_refused : bool ; outdated : bool ; refused : bool ; validation_passes : int list ; version : int >, unit, Mempool.t_with_version) Tezos_rpc.Service.t

Define RPC GET /chains/chain/mempool/pending_operations

val ban_operation : ('a, 'b) Tezos_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, Tezos_base.TzPervasives.Operation_hash.t, unit) Tezos_rpc.Service.t

Define RPC POST /chains/chain/mempool/ban_operation

val unban_operation : ('a, 'b) Tezos_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, Tezos_base.TzPervasives.Operation_hash.t, unit) Tezos_rpc.Service.t

Define RPC POST /chains/chain/mempool/unban_operation

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

Define RPC POST /chains/chain/mempool/unban_all_operations

val monitor_operations : ('a, 'b) Tezos_rpc.Path.t -> ([ `GET ], 'a, 'b, < applied : bool ; branch_delayed : bool ; branch_refused : bool ; outdated : bool ; refused : 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) Tezos_rpc.Service.t

Define RPC GET /chains/chain/mempool/monitor_operations

val get_filter : ('a, 'b) Tezos_rpc.Path.t -> ([ `GET ], 'a, 'b, < include_default : bool >, unit, Tezos_base.TzPervasives.Data_encoding.json) Tezos_rpc.Service.t

Define RPC GET /chains/chain/mempool/filter

Define RPC POST /chains/chain/mempool/filter

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

Define RPC POST /chains/chain/mempool/request_operations

OCaml

Innovation. Community. Security.