pub type PooledTransactionsElementEcRecovered<T = PooledTransaction> = RecoveredTx<T>;
Expand description
A signed pooled transaction with recovered signer.
Aliased Type§
struct PooledTransactionsElementEcRecovered<T = PooledTransaction> { /* private fields */ }
Implementations§
Source§impl PooledTransactionsElementEcRecovered
impl PooledTransactionsElementEcRecovered
Sourcepub fn into_ecrecovered_transaction(self) -> RecoveredTx
pub fn into_ecrecovered_transaction(self) -> RecoveredTx
Transform back to RecoveredTx
Sourcepub fn try_from_blob_transaction(
tx: RecoveredTx,
sidecar: BlobTransactionSidecar,
) -> Result<Self, RecoveredTx>
pub fn try_from_blob_transaction( tx: RecoveredTx, sidecar: BlobTransactionSidecar, ) -> Result<Self, RecoveredTx>
Converts from an EIP-4844 RecoveredTx
to a
PooledTransactionsElementEcRecovered
with the given sidecar.
Returns the transaction is not an EIP-4844 transaction.
Trait Implementations§
Source§impl TryFrom<RecoveredTx> for PooledTransactionsElementEcRecovered
Converts a Recovered
into a PooledTransactionsElementEcRecovered
.
impl TryFrom<RecoveredTx> for PooledTransactionsElementEcRecovered
Converts a Recovered
into a PooledTransactionsElementEcRecovered
.
Source§type Error = TransactionConversionError
type Error = TransactionConversionError
The type returned in the event of a conversion error.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.