Module Evm_node_lib_dev.Injector

val send_raw_transaction : keep_alive:bool -> base:Uri.t -> raw_tx:string -> (Evm_node_lib_dev_encoding.Ethereum_types.hash, string) Stdlib.result Tezos_base.TzPervasives.tzresult Lwt.t

send_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 inject_transaction : keep_alive:bool -> base:Uri.t -> tx_object:Evm_node_lib_dev_encoding.Ethereum_types.legacy_transaction_object -> raw_tx:string -> (Evm_node_lib_dev_encoding.Ethereum_types.hash, string) Stdlib.result Tezos_base.TzPervasives.tzresult Lwt.t
val get_transaction_by_hash : keep_alive:bool -> base:Uri.t -> Evm_node_lib_dev_encoding.Ethereum_types.hash -> (Transaction_object.t option, string) Stdlib.result Tezos_base.TzPervasives.tzresult Lwt.t