Function forest_filecoin::rpc::methods::eth::new_eth_tx_from_message_lookup
source ยท fn new_eth_tx_from_message_lookup<DB: Blockstore>(
ctx: &Arc<RPCState<DB>>,
message_lookup: &MessageLookup,
tx_index: Option<u64>,
) -> Result<ApiEthTx>
Expand description
Creates an Ethereum transaction from Filecoin message lookup. If None
is passed for tx_index
,
it looks up the transaction index of the message in the tipset.
Otherwise, it uses some index passed into the function.