package tezos-proxy

  1. Overview
  2. Docs

The class http_local_ctxt creates an RPC context that executes some RPCs locally and delegates others over http. Arguments are:

  • an instance of RPC_context.json to perform RPC calls (for delegation over http), and
  • the protocol-dependent implementation of the proxy (the proxy mode obtains data from endpoints with protocol-dependent RPCs).
inherit Tezos_base__TzPervasives.RPC_context.t
method generic_json_call : Tezos_rpc.RPC_service.meth -> ?body:Data_encoding.json -> Uri.t -> (Data_encoding.json, Data_encoding.json option) Tezos_base__TzPervasives.RPC_context.rest_result Lwt.t
method base : Uri.t
OCaml

Innovation. Community. Security.