Crate op_alloy_rpc_types_engine

Source
Expand description

§op-alloy-rpc-types-engine

CI op-alloy-rpc-types-engine crate MIT License Apache License Book

Optimism RPC types for the engine namespace.

Re-exports§

pub use payload::OpExecutionPayload;
pub use payload::error::OpPayloadError;
pub use payload::v3::OpExecutionPayloadEnvelopeV3;
pub use payload::v4::OpExecutionPayloadEnvelopeV4;
pub use payload::v4::OpExecutionPayloadV4;

Modules§

payload
Versioned Optimism execution payloads

Structs§

OpExecutionData
Struct aggregating OpExecutionPayload and OpExecutionPayloadSidecar and encapsulating complete payload supplied for execution.
OpExecutionPayloadSidecar
Container type for all available additional newPayload request parameters that are not present in the ExecutionPayload object itself.
OpNetworkPayloadEnvelope
Optimism execution payload envelope in network format.
OpPayloadAttributes
Optimism Payload Attributes
PayloadHash
Represents the Keccak256 hash of the block
ProtocolVersionFormatV0
The Protocol Version V0 format. Encoded as 31 bytes with the following structure:
SuperchainSignal
Superchain Signal information.

Enums§

ForkchoiceUpdateVersion
The version of the engine api.
PayloadEnvelopeEncodeError
Errors that can occur when encoding a payload envelope.
PayloadEnvelopeError
Errors that can occur when decoding a payload envelope.
ProtocolVersion
Formatted Superchain Protocol Version.
ProtocolVersionError
An error that can occur when encoding or decoding a ProtocolVersion.