Evm_node_lib_dev.Rpc_encodings
module JSONRPC : sig ... end
Encodings for the JSON-RPC standard. See https://www.jsonrpc.org/specification.
module Error : sig ... end
type 'result rpc_result = ('result, Error.t JSONRPC.error) Stdlib.result
module type METHOD = sig ... end
API of an Ethereum method.
module Kernel_version : METHOD with type input = unit and type output = string
module Kernel_root_hash :
METHOD with type input = unit and type output = string option
module Network_id : METHOD with type input = unit and type output = string
module Chain_id :
METHOD
with type input = unit
and type output = Evm_node_lib_dev_encoding.Ethereum_types.quantity
module Accounts :
METHOD
with type input = unit
and type output = Evm_node_lib_dev_encoding.Ethereum_types.address list
module Block_number :
METHOD
with type input = unit
and type output = Evm_node_lib_dev_encoding.Ethereum_types.block_height
module Get_block_by_number :
METHOD
with type input =
Evm_node_lib_dev_encoding.Ethereum_types.block_param * bool
and type output = Evm_node_lib_dev_encoding.Ethereum_types.block
module Get_block_by_hash :
METHOD
with type input =
Evm_node_lib_dev_encoding.Ethereum_types.block_hash * bool
and type output = Evm_node_lib_dev_encoding.Ethereum_types.block
module Gas_price :
METHOD
with type input = unit
and type output = Evm_node_lib_dev_encoding.Ethereum_types.quantity
module Get_uncle_count_by_block_hash :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.block_hash
and type output = Evm_node_lib_dev_encoding.Ethereum_types.quantity
module Get_transaction_receipt :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.hash
and type output =
Evm_node_lib_dev_encoding.Ethereum_types.transaction_receipt option
module Get_transaction_by_hash :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.hash
and type output =
Evm_node_lib_dev_encoding.Ethereum_types.transaction_object option
module Send_raw_transaction :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.hex
and type output = Evm_node_lib_dev_encoding.Ethereum_types.hash
module Send_transaction :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.transaction
and type output = Evm_node_lib_dev_encoding.Ethereum_types.hash
module Txpool_content :
METHOD
with type input = unit
and type output = Evm_node_lib_dev_encoding.Ethereum_types.txpool
module Web3_clientVersion :
METHOD with type input = unit and type output = string
module Web3_sha3 :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.hex
and type output = Evm_node_lib_dev_encoding.Ethereum_types.hash
module Get_logs :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.filter
and type output =
Evm_node_lib_dev_encoding.Ethereum_types.filter_changes list
module Produce_block :
METHOD
with type input = Mavryk_base.TzPervasives.Time.Protocol.t
and type output = Evm_node_lib_dev_encoding.Ethereum_types.quantity
module Durable_state_value :
METHOD
with type input = Durable_storage_path.path
and type output = Mavryk_base.TzPervasives.Bytes.t option
type map_result =
| Method : ('input, 'output) method_
* (module METHOD
with type input = 'input
and type output = 'output) -> map_result
| Unsupported
| Unknown
val map_method_name : string -> map_result