Evm_node_lib_prod.Services
val version_service :
([ `GET ], unit, unit, unit, unit, string) Mavryk_rpc.Service.service
val version :
unit Mavryk_rpc.Directory.directory ->
unit Mavryk_rpc.Directory.directory
val request_encoding :
'a Mavryk_base.TzPervasives.Data_encoding.encoding ->
'b batched_request Mavryk_base.TzPervasives.Data_encoding.encoding
val dispatch_service :
path:('a, 'b) Resto.Path.t ->
([ `POST ],
'a,
'b,
unit,
Rpc_encodings.JSONRPC.request batched_request,
Rpc_encodings.JSONRPC.response batched_request)
Mavryk_rpc.Service.service
val get_block_by_number :
full_transaction_object:bool ->
Evm_node_lib_prod_encoding.Ethereum_types.block_param ->
(module Services_backend_sig.S) ->
Evm_node_lib_prod_encoding.Ethereum_types.block
Mavryk_base.TzPervasives.tzresult
Lwt.t
val get_transaction_from_index :
Evm_node_lib_prod_encoding.Ethereum_types.block ->
int ->
(module Services_backend_sig.S) ->
Evm_node_lib_prod_encoding.Ethereum_types.transaction_object option
Mavryk_base.TzPervasives.tzresult
Lwt.t
val block_transaction_count :
Evm_node_lib_prod_encoding.Ethereum_types.block ->
Evm_node_lib_prod_encoding.Ethereum_types.quantity
val decode :
'a. (module Rpc_encodings.METHOD with type input = 'a) ->
Mavryk_base.TzPervasives.Data_encoding.json ->
'a
val encode :
'a. (module Rpc_encodings.METHOD with type output = 'a) ->
'a ->
Mavryk_base.TzPervasives.Data_encoding.json
val build :
'input 'output. (module Rpc_encodings.METHOD
with type input = 'input
and type output = 'output) ->
f:
('input option ->
('output, string * Evm_node_lib_prod_encoding.Ethereum_types.hash option)
Either.t
Mavryk_base.TzPervasives.tzresult
Lwt.t) ->
Mavryk_base.TzPervasives.Data_encoding.json option ->
Rpc_encodings.JSONRPC.value Lwt.t
val build_with_input :
(module Rpc_encodings.METHOD with type input = 'a and type output = 'b) ->
f:
('c ->
('b, string * Evm_node_lib_prod_encoding.Ethereum_types.hash option)
Either.t
Mavryk_base.TzPervasives.tzresult
Lwt.t) ->
Mavryk_base.TzPervasives.Data_encoding.json option ->
Rpc_encodings.JSONRPC.value Lwt.t
val dispatch_request :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
Rpc_encodings.JSONRPC.request ->
Rpc_encodings.JSONRPC.response Lwt.t
val dispatch_private_request :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
Rpc_encodings.JSONRPC.request ->
Rpc_encodings.JSONRPC.response Lwt.t
val generic_dispatch :
'a ->
'b ->
unit Mavryk_rpc.Directory.directory ->
(unit, unit) Resto.Path.t ->
('c ->
'd ->
Rpc_encodings.JSONRPC.request ->
Rpc_encodings.JSONRPC.response Lwt.t) ->
unit Mavryk_rpc.Directory.directory
val dispatch_public :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
unit Mavryk_rpc.Directory.directory ->
unit Mavryk_rpc.Directory.directory
val dispatch_private :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
unit Mavryk_rpc.Directory.directory ->
unit Mavryk_rpc.Directory.directory
val directory :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
unit Mavryk_rpc.Directory.directory
val private_directory :
Evm_node_config.Configuration.t ->
((module Services_backend_sig.S) * 'a) ->
unit Mavryk_rpc.Directory.directory