Evm_node_lib_dev.Injectorval call_singleton_request :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
(module Rpc_encodings.METHOD
with type input = 'input
and type output = 'output) ->
Rpc_encodings.JSONRPC.request ->
('output, string) Stdlib.result Tezos_base.TzPervasives.tzresult Lwt.tval send_raw_transaction :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
raw_tx:string ->
(Evm_node_lib_dev_encoding.Ethereum_types.hash, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tsend_raw_transaction ~keep_alive ~base raw_txn uses the eth_sendRawTransaction RPC method to inject raw_txn to the endpoint base. It will retry as many time as necessary if keep_alive is set to true, or return an error otherwise.
val send_raw_transaction_sync :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
raw_tx:Evm_node_lib_dev_encoding.Ethereum_types.hex ->
internal_timeout:int64 ->
block_parameter:Evm_node_lib_dev_encoding.Ethereum_types.Block_parameter.t ->
(Evm_node_lib_dev_encoding.Transaction_receipt.t, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tsend_raw_transaction_sync ~keep_alive ~base raw_txn block_parameter uses the eth_sendRawTransaction RPC method to inject raw_txn to the endpoint base, and waits for its confirmation. It will retry as many time as necessary if keep_alive is set to true, or return an error otherwise.
val inject_wait_transaction_confirmation :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
hash:Evm_node_lib_dev_encoding.Ethereum_types.hash ->
(unit, string) Stdlib.result Tezos_base.TzPervasives.tzresult Lwt.tval inject_transaction :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
tx_object:Transaction_object.t ->
raw_tx:string ->
wait_confirmation:bool ->
(Evm_node_lib_dev_encoding.Ethereum_types.hash, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tval inject_tezlink_operation :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
op:Evm_node_lib_dev_tezlink.Tezos_types.Operation.t ->
raw_op:bytes ->
(Evm_node_lib_dev_encoding.Ethereum_types.hash, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tval get_transaction_count :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
Evm_node_lib_dev_encoding.Ethereum_types.address ->
Evm_node_lib_dev_encoding.Ethereum_types.Block_parameter.extended ->
(Evm_node_lib_dev_encoding.Ethereum_types.quantity, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.tval get_transaction_by_hash :
keep_alive:bool ->
timeout:float ->
base:Uri.t ->
Evm_node_lib_dev_encoding.Ethereum_types.hash ->
(Transaction_object.t option, string) Stdlib.result
Tezos_base.TzPervasives.tzresult
Lwt.t