Module reth::rpc::types::beacon::payload

Expand description

Types and functions related to the beacon block payload. Payload support for the beacon API.

Internal helper module to deserialize/serialize the payload attributes for the beacon API, which uses snake case and quoted decimals.

This is necessary because we don’t want to allow a mixture of both formats, hence serde aliases are not an option.

See also https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload

Modules§

  • A helper module for serializing and deserializing the payload attributes for the beacon API.
  • A helper module for serializing and deserializing optimism payload attributes for the beacon API.
  • Module providing serialization and deserialization support for the beacon API payload attributes.
  • A helper serde module to convert from/to the Beacon API which uses quoted decimals rather than big-endian hex.
  • A helper serde module to convert from/to the Beacon API which uses quoted decimals rather than big-endian hex.
  • A helper serde module to convert from/to the Beacon API which uses quoted decimals rather than big-endian hex.
  • A helper serde module to convert from/to the Beacon API which uses quoted decimals rather than big-endian hex.

Structs§