Expand description
§alloy-rpc-types-engine
Types for the engine
Ethereum JSON-RPC namespace.
Engine API types: https://github.com/ethereum/execution-apis/blob/main/src/engine/authentication.md and https://eips.ethereum.org/EIPS/eip-3675, following the execution specs https://github.com/ethereum/execution-apis/tree/6709c2a795b707202e93c4f2867fa0bf2640a84f/src/engine.
Re-exports§
pub use payload::*;
Modules§
- Payload types.
Structs§
- Blob type returned in responses to
engine_getBlobsV1
: https://github.com/ethereum/execution-apis/pull/559 - Fields introduced in
engine_newPayloadV3
that are not present in theExecutionPayload
RPC object. - Claims
jwt
Claims in JWT are used to represent a set of information about an entity. - Contains information which identifies a client implementation.
- Container type for all available additional
newPayload
request parameters that are not present in theExecutionPayload
object itself. - This structure encapsulates the fork choice state
- Represents a successfully processed forkchoice state update.
- JwtSecret
jwt
Value-object holding a reference to a hex-encoded 256-bit secret key. - A container type for CancunPayloadFields that may or may not be present.
- This structure contains configurable settings of the transition process.
Enums§
- This enum defines a standard for specifying a client with just two letters. Clients teams which have a code reserved in this list MUST use this code when identifying themselves.
- A standalone forkchoice update errors for RPC.
- JwtError
jwt
Errors returned by theJwtSecret
- Error that can occur when handling payloads.
- Various errors that can occur when validating a payload or forkchoice update.
Constants§
- The list of all supported Engine capabilities available over the engine endpoint.
- invalid forkchoice state error code.
- invalid forkchoice state error message.
- invalid payload attributes error code.
- invalid payload attributes error message.
Type Aliases§
- Represents possible variants of a processed forkchoice update.