Crate rpc_types_engine

Source
Available on crate feature rpc-types-engine only.
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.

Modules§

payload
Versioned Optimism execution payloads

Structs§

OpExecutionData
Struct aggregating OpExecutionPayload and OpExecutionPayloadSidecar and encapsulating complete payload supplied for execution.
OpExecutionPayloadEnvelopeV3
This structure maps for the return value of engine_getPayload of the beacon chain spec, for V3.
OpExecutionPayloadEnvelopeV4
This structure maps for the return value of engine_getPayload of the beacon chain spec, for V4.
OpExecutionPayloadSidecar
Container type for all available additional newPayload request parameters that are not present in the ExecutionPayload object itself.
OpExecutionPayloadV4
The Opstack execution payload for newPayloadV4 of the engine API introduced with isthmus. See also https://specs.optimism.io/protocol/isthmus/exec-engine.html#engine_newpayloadv4-api
OpNetworkPayloadEnvelope
Optimism execution payload envelope in network format.
OpPayloadAttributes
Optimism Payload Attributes
PayloadHash
Represents the Keccak256 hash of the block

Enums§

ForkchoiceUpdateVersion
The version of the engine api.
OpExecutionPayload
An execution payload, which can be either ExecutionPayloadV2, ExecutionPayloadV3, or OpExecutionPayloadV4.
OpPayloadError
Extends PayloadError for Optimism.
PayloadEnvelopeError
Errors that can occur when decoding a payload envelope.