alloy-rpc-types-engine 0.15.9

Types for the `engine` Ethereum JSON-RPC namespace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Versions for the engine api.

/// The version of the engine api.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[repr(u32)]
pub enum ForkchoiceUpdateVersion {
    /// Version 1 of the engine api.
    V1 = 1,
    /// Version 2 of the engine api.
    V2 = 2,
    /// Version 3 of the engine api.
    V3 = 3,
    /// Version 4 of the engine api.
    V4 = 4,
}