Module alloy_network::eip2718

Expand description

EIP-2718 traits.

Enums§

Traits§

  • Decoding trait for EIP-2718 envelopes. These envelopes wrap a transaction or a receipt with a type flag.
  • An EIP-2718 envelope, blanket implemented for types that impl Encodable2718 and Decodable2718. This envelope is a wrapper around a transaction, or a receipt, or any other type that is differentiated by an EIP-2718 transaction type.
  • Encoding trait for EIP-2718 envelopes. These envelopes wrap a transaction or a receipt with a type flag. EIP-2718 encodings are used by the eth_sendRawTransaction RPC call, the Ethereum block header’s tries, and the peer-to-peer protocol.

Type Aliases§