pub trait TryFromTransactionResponse<N: Network> {
type Error: Error + Send + Sync + Unpin;
// Required method
fn from_transaction_response(
transaction_response: N::TransactionResponse,
) -> Result<Self, Self::Error>
where Self: Sized;
}
Expand description
Trait for converting network transaction responses to primitive transaction types.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl TryFromTransactionResponse<Ethereum> for TransactionSigned
impl TryFromTransactionResponse<Ethereum> for TransactionSigned
type Error = Infallible
fn from_transaction_response( transaction_response: Transaction, ) -> Result<Self, Self::Error>
Source§impl TryFromTransactionResponse<Optimism> for OpTransactionSigned
Available on crate feature op
only.
impl TryFromTransactionResponse<Optimism> for OpTransactionSigned
Available on crate feature
op
only.