Module transaction
Expand description
Transaction types.
Modules§
- serde_
bincode_ compat serde-bincode-compat
Bincode-compatible transaction type serde implementations.
Structs§
- A response to
GetPooledTransactions
that includes blob data, their commitments, and their corresponding proofs. - This represents a set of blobs, and its corresponding commitments and proofs.
- A signed pooled transaction with recovered signer.
- An Ethereum ECDSA signature.
- Additional fields in the context of a block that contains this transaction.
- Signed transaction.
- Signed transaction with recovered signer.
- Signed transaction without its Hash. Used type for inserting into the DB.
- Generic wrapper with encoded Bytes, such as transaction data.
Enums§
- An error that can occur when validating a BlobTransactionSidecar::validate.
- Represents error variants that can happen when trying to validate a Transaction
- A response to
GetPooledTransactions
. This can include either a blob transaction, or a non-4844 signed transaction. - A raw transaction.
- Represents error variants that can happen when trying to convert a transaction to
PooledTransactionsElement
- Represents various different transaction formats used in reth.
- Represents error variants than can happen when trying to convert a
TransactionSignedEcRecovered
transaction. - Transaction Type
Constants§
- DEPOSI
T_ TX_ TYPE_ ID optimism
Identifier forTxDeposit
transaction. - Identifier for
TxEip1559
transaction. - Identifier for
TxEip2930
transaction. - Identifier for
TxEip4844
transaction. - Identifier for
TxEip7702
transaction. - Identifier for legacy transaction, however
TxLegacy
this is technically not typed.
Traits§
- Implements behaviour to fill a
TxEnv
from another transaction.
Functions§
- Outputs (
odd_y_parity
,chain_id
) from thev
value. This doesn’t check validity of thev
value for optimism. - generate_
blob_ sidecar c-kzg
andarbitrary
Generates aBlobTransactionSidecar
structure containing blobs, commitments, and proofs. - Returns Parity value based on
chain_id
for legacy transaction signature. - 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 from message hash, without ensuring that the signature has a low
s
value.
Type Aliases§
- Either a transaction hash or number.