Function recover_raw_transaction
pub fn recover_raw_transaction<T>(
data: &[u8],
) -> Result<Recovered<T>, EthApiError>where
T: SignedTransaction,
Available on crate feature
rpc
only.Expand description
Recovers a SignedTransaction
from an enveloped encoded byte stream.
This is a helper function that returns the appropriate RPC-specific error if the input data is malformed.
See [alloy_eips::eip2718::Decodable2718::decode_2718
]