Expand description
Transaction types.
Modules§
- signature
- Handling transaction signature operations, including signature recovery, applying chain IDs, and EIP-2 validation.
- util
- Utility functions for signature.
Structs§
- Lazy
Lock - A value which is initialized on the first access.
- Once
Lock - A synchronization primitive which can nominally be written to only once.
- Transaction
Signed - Signed transaction. Signed Ethereum transaction.
- With
Encoded - Generic wrapper with encoded Bytes, such as transaction data.
Enums§
- Invalid
Transaction Error - Represents error variants that can happen when trying to validate a transaction.
- Transaction
- Signed transaction. A raw transaction.
- Transaction
Conversion Error - Represents error variants that can happen when trying to convert a transaction to pooled transaction.
- TryFrom
Recovered Transaction Error - Represents error variants than can happen when trying to convert a recovered transaction.
- TxType
- Transaction Type
Traits§
- Fill
TxEnv - Loads transaction into execution environment.
- Signed
Transaction - A signed transaction.
Functions§
- recover_
signer - Recover signer address from message hash. This ensures that the signature S value is
greater than
secp256k1n / 2
, as specified in EIP-2. - recover_
signer_ unchecked - Recover signer from message hash, without ensuring that the signature has a low
s
value.
Type Aliases§
- Pooled
Transaction - All possible transactions that can be included in a response to
GetPooledTransactions
. A response toGetPooledTransactions
. This can include either a blob transaction, or a non-4844 signed transaction. - Pooled
Transactions Element EcRecovered Deprecated - A signed pooled transaction with recovered signer.
- Transaction
Signed EcRecovered Deprecated - Type alias kept for backward compatibility.