Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val protocol_hash : Tezos_crypto.Protocol_hash.t
val directory :
Tezos_protocol_environment.rpc_context Tezos_rpc.RPC_directory.t
RPCs provided by the protocol
val hash :
Tezos_rpc.RPC_context.simple ->
?chain:Tezos_shell_services.Block_services.chain ->
?block:Tezos_shell_services.Block_services.block ->
unit ->
(Tezos_crypto.Block_hash.t, Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
The protocol's /chains/<chain>/blocks/<block_id>/hash RPC
val init_env_rpc_context :
Tezos_client_base.Client_context.printer ->
Tezos_rpc.RPC_context.json ->
Tezos_shell_services.Block_services.chain ->
Tezos_shell_services.Block_services.block ->
(Tezos_protocol_environment.rpc_context, Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
How to build the context to execute RPCs on. Arguments are:
RPC_context.json
, to perform RPCs