Module transaction

Source
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§

LazyLock
A value which is initialized on the first access.
OnceLock
A synchronization primitive which can nominally be written to only once.
TransactionSigned
Signed transaction. Signed Ethereum transaction.
WithEncoded
Generic wrapper with encoded Bytes, such as transaction data.

Enums§

InvalidTransactionError
Represents error variants that can happen when trying to validate a transaction.
Transaction
Signed transaction. A raw transaction.
TransactionConversionError
Represents error variants that can happen when trying to convert a transaction to pooled transaction.
TryFromRecoveredTransactionError
Represents error variants than can happen when trying to convert a recovered transaction.
TxType
Transaction Type

Traits§

FillTxEnv
Loads transaction into execution environment.
SignedTransaction
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§

PooledTransaction
All possible transactions that can be included in a response to GetPooledTransactions. A response to GetPooledTransactions. This can include either a blob transaction, or a non-4844 signed transaction.
PooledTransactionsElementEcRecoveredDeprecated
A signed pooled transaction with recovered signer.
TransactionSignedEcRecoveredDeprecated
Type alias kept for backward compatibility.