Module txtype

Source
Expand description

Commonly used constants for transaction types.

Constants§

COMPACT_EXTENDED_IDENTIFIER_FLAG
For backwards compatibility purposes only 2 bits of the type are encoded in the identifier parameter. In the case of a COMPACT_EXTENDED_IDENTIFIER_FLAG, the full transaction type is read from the buffer as a single byte.
COMPACT_IDENTIFIER_EIP1559
Identifier parameter for EIP-1559 transaction
COMPACT_IDENTIFIER_EIP2930
Identifier parameter for EIP-2930 transaction
COMPACT_IDENTIFIER_LEGACY
Identifier parameter for legacy transaction